aboutsummaryrefslogtreecommitdiff
path: root/fs/aio.c
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2018-11-10 04:13:24 +0000
committerAl Viro <viro@zeniv.linux.org.uk>2018-11-10 08:02:40 -0500
commitc4b7d1ba7d263b74bb72e9325262a67139605cde (patch)
tree21321f3608d2fc613fb27c99c2ff7fbab5e8b079 /fs/aio.c
parent651022382c7f8da46cb4872a545ee1da6d097d2a (diff)
downloadlinux-stericsson-c4b7d1ba7d263b74bb72e9325262a67139605cde.tar.gz
sysv: return 'err' instead of 0 in __sysv_write_inode
Fixes gcc '-Wunused-but-set-variable' warning: fs/sysv/inode.c: In function '__sysv_write_inode': fs/sysv/inode.c:239:6: warning: variable 'err' set but not used [-Wunused-but-set-variable] __sysv_write_inode should return 'err' instead of 0 Fixes: 05459ca81ac3 ("repair sysv_write_inode(), switch sysv to simple_fsync()") Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/aio.c')
0 files changed, 0 insertions, 0 deletions