commit | 16caf5b6101d03335b386e77e9e14136f989be87 | [log] [tgz] |
---|---|---|
author | Jan Kara <jack@suse.cz> | Thu Oct 23 14:02:47 2014 +0200 |
committer | Trond Myklebust <trond.myklebust@primarydata.com> | Wed Nov 12 14:22:53 2014 -0500 |
tree | 659ca6328f8ee845e4b3d3ccf54b857ec1a1a52c | |
parent | b283f9445214d4d573906f919c70caccd27b74ea [diff] |
nfs: Fix use of uninitialized variable in nfs_getattr() Variable 'err' needn't be initialized when nfs_getattr() uses it to check whether it should call generic_fillattr() or not. That can result in spurious error returns. Initialize 'err' properly. Signed-off-by: Jan Kara <jack@suse.cz> Cc: stable@vger.kernel.org Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>