projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe315e7
)
NFS: Minor __nfs_revalidate_inode cleanup
author
Suresh Jayaraman
<sjayaraman@suse.de>
Wed, 11 Mar 2009 18:10:22 +0000
(14:10 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Wed, 11 Mar 2009 18:10:22 +0000
(14:10 -0400)
Remove redundant NFS_STALE() check, a leftover due to the commit
691beb13cdc88358334ef0ba867c080a247a760f
Signed-off-by: Suresh Jayaraman <sjayaraman@suse.de>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/inode.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfs/inode.c
b/fs/nfs/inode.c
index 0c381686171e30cc1eab1f71128bce7837bd22dd..acaaa7c7efa4b4e086a66df6a7ff7bf87fa661b4 100644
(file)
--- a/
fs/nfs/inode.c
+++ b/
fs/nfs/inode.c
@@
-670,9
+670,6
@@
__nfs_revalidate_inode(struct nfs_server *server, struct inode *inode)
if (NFS_STALE(inode))
goto out;
- if (NFS_STALE(inode))
- goto out;
-
nfs_inc_stats(inode, NFSIOS_INODEREVALIDATE);
status = NFS_PROTO(inode)->getattr(server, NFS_FH(inode), &fattr);
if (status != 0) {