commit | 4675719d0f47d18bc13db62bd21cffd4e4ec8001 | [log] [tgz] |
---|---|---|
author | Hou Tao <houtao1@huawei.com> | Tue Jul 02 22:35:48 2019 +0800 |
committer | Song Liu <songliubraving@fb.com> | Wed Aug 07 10:25:02 2019 -0700 |
tree | edaccec92cd9d7816f75bf6237c74ce180824371 | |
parent | 00ec4f3039a9e36cbccd1aea82d06c77c440a51c [diff] |
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>