mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 22:21:21 +00:00
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>
This commit is contained in:
parent
29ac4aa3fc
commit
d089c6af10
10 changed files with 47 additions and 47 deletions
|
@ -322,7 +322,7 @@ static inline char * mdname (mddev_t * mddev)
|
|||
/*
|
||||
* iterates through the 'same array disks' ringlist
|
||||
*/
|
||||
#define ITERATE_RDEV(mddev,rdev,tmp) \
|
||||
#define rdev_for_each(rdev, tmp, mddev) \
|
||||
ITERATE_RDEV_GENERIC((mddev)->disks,rdev,tmp)
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue