diff options
author | NeilBrown <neilb@suse.de> | 2008-02-06 04:39:59 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-06 13:41:19 -0500 |
commit | d089c6af10c2be5988f03667d6d22fe6085fbe5e (patch) | |
tree | 815eb0596bd7c908f30c268da6b5c5eff0e0bc21 /include/linux/raid | |
parent | 29ac4aa3fc68a86279aca50f20df4d614de2e204 (diff) |
md: change ITERATE_RDEV to rdev_for_each
As this is more in line with common practice in the kernel. Also swap the
args around to be more like list_for_each.
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/raid')
-rw-r--r-- | include/linux/raid/md_k.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/raid/md_k.h b/include/linux/raid/md_k.h index 5b2102e40286..9c19555f314b 100644 --- a/include/linux/raid/md_k.h +++ b/include/linux/raid/md_k.h | |||
@@ -322,7 +322,7 @@ static inline char * mdname (mddev_t * mddev) | |||
322 | /* | 322 | /* |
323 | * iterates through the 'same array disks' ringlist | 323 | * iterates through the 'same array disks' ringlist |
324 | */ | 324 | */ |
325 | #define ITERATE_RDEV(mddev,rdev,tmp) \ | 325 | #define rdev_for_each(rdev, tmp, mddev) \ |
326 | ITERATE_RDEV_GENERIC((mddev)->disks,rdev,tmp) | 326 | ITERATE_RDEV_GENERIC((mddev)->disks,rdev,tmp) |
327 | 327 | ||
328 | /* | 328 | /* |