commit | 85233a7a436a48a0b98e7976a66797e5da79c9d6 | [log] [tgz] |
---|---|---|
author | Chuck Lever <chuck.lever@oracle.com> | Thu Oct 19 23:28:42 2006 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Fri Oct 20 10:26:39 2006 -0700 |
tree | 3d55b9767194943dd4676e2d84a9e56563f4fed7 | |
parent | 39cf8a1374dc51fea169190674d5e4996a7d7ea2 [diff] |
[PATCH] NFS: __nfs_revalidate_inode() can use "inode" before checking it is non-NULL The "!inode" check in __nfs_revalidate_inode() occurs well after the first time it is dereferenced, so get rid of it. Coverity: #cid 1372, 1373 Test plan: Code review; recheck with Coverity. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>