diff options
| author | 2022-09-16 19:34:24 +0800 | |
|---|---|---|
| committer | 2022-09-22 00:05:05 -0700 | |
| commit | ed2e063f92c44c891ccd883e289dde6ca870edcc (patch) | |
| tree | 935bed7581a144ac366d2614e3bc2c87ca734cdf /include/linux/mfd/git:/ssh:/git@git.zx2c4.com | |
| parent | md: Remove extra mddev_get() in md_seq_start() (diff) | |
| download | linux-dev-ed2e063f92c44c891ccd883e289dde6ca870edcc.tar.xz linux-dev-ed2e063f92c44c891ccd883e289dde6ca870edcc.zip | |
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 'include/linux/mfd/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
