From: Jan Kara Date: Thu, 23 Oct 2014 12:02:47 +0000 (+0200) Subject: nfs: Fix use of uninitialized variable in nfs_getattr() X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~109^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16caf5b6101d03335b386e77e9e14136f989be87;p=pandora-kernel.git 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 Cc: stable@vger.kernel.org Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed