aboutsummaryrefslogtreecommitdiff
path: root/fs/read_write.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2014-10-23 14:02:47 +0200
committerTrond Myklebust <trond.myklebust@primarydata.com>2014-11-12 14:22:53 -0500
commit16caf5b6101d03335b386e77e9e14136f989be87 (patch)
tree659ca6328f8ee845e4b3d3ccf54b857ec1a1a52c /fs/read_write.c
parentb283f9445214d4d573906f919c70caccd27b74ea (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>
Diffstat (limited to 'fs/read_write.c')
0 files changed, 0 insertions, 0 deletions