linux-brain/fs/sysv
YueHaibing c36dff34c4 sysv: return 'err' instead of 0 in __sysv_write_inode
[ Upstream commit c4b7d1ba7d ]

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: 05459ca81a ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2018-12-17 09:38:32 +01:00
..
Kconfig fs/Kconfig: move sysv out 2009-01-22 13:15:59 +03:00
Makefile sysv: switch to simple_follow_link() 2015-05-10 22:18:26 -04:00
balloc.c sysv: drop lock/unlock super 2012-10-09 23:33:39 -04:00
dir.c fs: Replace CURRENT_TIME_SEC with current_time() for inode timestamps 2016-09-27 21:06:22 -04:00
file.c fs: Give dentry to inode_change_ok() instead of inode 2016-09-22 10:56:19 +02:00
ialloc.c fs: Replace CURRENT_TIME_SEC with current_time() for inode timestamps 2016-09-27 21:06:22 -04:00
inode.c sysv: return 'err' instead of 0 in __sysv_write_inode 2018-12-17 09:38:32 +01:00
itree.c fs: Replace CURRENT_TIME_SEC with current_time() for inode timestamps 2016-09-27 21:06:22 -04:00
namei.c Merge remote-tracking branch 'ovl/rename2' into for-linus 2016-10-10 23:02:51 -04:00
super.c sysv: Add forgotten superblock lock init for v7 fs 2013-09-29 22:02:02 -04:00
sysv.h fs: cleanup slight list_entry abuse 2015-06-23 18:01:59 -04:00