Skip to contentSkip to conversation

NFS: Minor __nfs_revalidate_inode cleanup

PATCH New Suresh Jayaraman 1 participant 1 message Feb 17, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 NFS: Minor __nfs_revalidate_inode cleanup

Remove redundant NFS_STALE() check, a leftover due to the commit 691beb13cdc88358334ef0ba867c080a247a760f

---

 fs/nfs/inode.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
fs/nfs/inode.c +0 -3
index 0c38168..acaaa7c 100644
@@ -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) {