xfs: fix incorrect error sign in xfs_file_aio_read
Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Jie Liu <jeff.liu@oracle.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
Родитель
43ec1460a2
Коммит
8ff1e6705a
|
@ -295,7 +295,7 @@ xfs_file_aio_read(
|
|||
xfs_rw_ilock(ip, XFS_IOLOCK_EXCL);
|
||||
|
||||
if (inode->i_mapping->nrpages) {
|
||||
ret = -filemap_write_and_wait_range(
|
||||
ret = filemap_write_and_wait_range(
|
||||
VFS_I(ip)->i_mapping,
|
||||
pos, -1);
|
||||
if (ret) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче