Commit 6eb7560
committed
do_io_accounting: use __for_each_thread()
JIRA: https://issues.redhat.com/browse/RHEL-105165
commit 2320222
Author: Oleg Nesterov <oleg@redhat.com>
Date: Mon, 23 Oct 2023 17:33:43 +0200
do_io_accounting: use __for_each_thread()
Rather than while_each_thread() which should be avoided when possible.
This makes the code more clear and allows the next change.
Link: https://lkml.kernel.org/r/20231023153343.GA4629@redhat.com
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Waiman Long <longman@redhat.com>1 parent 41f9394 commit 6eb7560
1 file changed
+8
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2948 | 2948 | | |
2949 | 2949 | | |
2950 | 2950 | | |
2951 | | - | |
| 2951 | + | |
2952 | 2952 | | |
2953 | 2953 | | |
2954 | 2954 | | |
| |||
2962 | 2962 | | |
2963 | 2963 | | |
2964 | 2964 | | |
2965 | | - | |
| 2965 | + | |
| 2966 | + | |
2966 | 2967 | | |
2967 | | - | |
2968 | | - | |
| 2968 | + | |
| 2969 | + | |
2969 | 2970 | | |
2970 | 2971 | | |
2971 | 2972 | | |
| 2973 | + | |
| 2974 | + | |
2972 | 2975 | | |
| 2976 | + | |
2973 | 2977 | | |
2974 | 2978 | | |
2975 | 2979 | | |
| |||
0 commit comments