Skip to content
Snippets Groups Projects
Commit 4675719d authored by Hou Tao's avatar Hou Tao Committed by Song Liu
Browse files

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: default avatarHou Tao <houtao1@huawei.com>
Signed-off-by: default avatarSong Liu <songliubraving@fb.com>
parent 00ec4f30
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment