[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20181110130329.GE32577@ZenIV.linux.org.uk>
Date: Sat, 10 Nov 2018 13:03:29 +0000
From: Al Viro <viro@...IV.linux.org.uk>
To: YueHaibing <yuehaibing@...wei.com>
Cc: Christoph Hellwig <hch@...radead.org>,
David Howells <dhowells@...hat.com>,
Arnd Bergmann <arnd@...db.de>, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH -next] sysv: return 'err' instead of 0 in
__sysv_write_inode
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@...wei.com>
Applied.
Powered by blists - more mailing lists