]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Don't trace an uninitialised value
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 5 Nov 2021 16:35:26 +0000 (12:35 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 5 Nov 2021 16:58:41 +0000 (12:58 -0400)
commit2436a054f837eb7ba0ee4386d64c1d4b1cad752a
tree5b0c0ddcaa07c1a4486890bda2b9e67ad2bbf37d
parenta883d0ce4a159f5aea605ddb05b5d77b08e97d6d
NFS: Don't trace an uninitialised value

If fhandle is NULL or fattr is NULL, then 'error' is uninitialised.

Reported-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
fs/nfs/dir.c