summaryrefslogtreecommitdiff
path: root/drivers/md/dm-kcopyd.c
diff options
context:
space:
mode:
authorYu Kuai <yukuai3@huawei.com>2022-09-16 19:34:24 +0800
committerSong Liu <song@kernel.org>2022-09-22 00:05:05 -0700
commited2e063f92c44c891ccd883e289dde6ca870edcc (patch)
tree935bed7581a144ac366d2614e3bc2c87ca734cdf /drivers/md/dm-kcopyd.c
parent3bfc3bcd787c48aa31e4fde4a6dfcef4cd7ee2c2 (diff)
md/raid10: factor out code from wait_barrier() to stop_waiting_barrier()
Currently the nasty condition in wait_barrier() is hard to read. This patch factors out the condition into a function. There are no functional changes. Signed-off-by: Yu Kuai <yukuai3@huawei.com> Acked-by: Paul Menzel <pmenzel@molgen.mpg.de> Reviewed-by: Logan Gunthorpe <logang@deltatee.com> Acked-by: Guoqing Jiang <guoqing.jiang@linux.dev> Signed-off-by: Song Liu <song@kernel.org>
Diffstat (limited to 'drivers/md/dm-kcopyd.c')
0 files changed, 0 insertions, 0 deletions