diff options
author | Jan Kara <jack@suse.cz> | 2014-10-23 14:02:47 +0200 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-11-12 20:22:53 +0100 |
commit | 16caf5b6101d03335b386e77e9e14136f989be87 (patch) | |
tree | 659ca6328f8ee845e4b3d3ccf54b857ec1a1a52c /fs/dcookies.c | |
parent | nfs: Remove bogus assignment (diff) | |
download | linux-16caf5b6101d03335b386e77e9e14136f989be87.tar.xz linux-16caf5b6101d03335b386e77e9e14136f989be87.zip |
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>
Diffstat (limited to 'fs/dcookies.c')
0 files changed, 0 insertions, 0 deletions