mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-12 06:01:58 +00:00
raid1: use an int as the return value of raise_barrier()
Using a sector_t as the return value is misleading, because raise_barrier() only return 0 or -EINTR. Also add comments for the return values of raise_barrier(). Signed-off-by: Hou Tao <houtao1@huawei.com> Signed-off-by: Song Liu <songliubraving@fb.com>
This commit is contained in:
parent
00ec4f3039
commit
4675719d0f
1 changed files with 4 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue