raid5-cache: simplify r5l_move_io_unit_list
authorChristoph Hellwig <hch@lst.de>
Sun, 20 Dec 2015 23:51:01 +0000 (10:51 +1100)
committerNeilBrown <neilb@suse.com>
Wed, 6 Jan 2016 00:39:34 +0000 (11:39 +1100)
commit3848c0bcb09c7b78e6f4ae9f8fc8d6d9aecbd35a
tree2dfc82a2461a6b06ea4a190653e7f8b99550802d
parentabf3508d8faa281e01a780e022a6f43d1731fe0b
raid5-cache: simplify r5l_move_io_unit_list

It's only used for one kind of move, so make that explicit.  Also clean
up the code a bit by using list_for_each_safe.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Shaohua Li <shli@fb.com>
Signed-off-by: NeilBrown <neilb@suse.com>
drivers/md/raid5-cache.c
This page took 0.024657 seconds and 5 git commands to generate.