On Sat, Nov 10, 2018 at 04:13:24AM +0000, YueHaibing wrote: > 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@xxxxxxxxxx> Applied.