Skip to content

Commit

Permalink
NFS: Minor __nfs_revalidate_inode cleanup
Browse files Browse the repository at this point in the history
Remove redundant NFS_STALE() check, a leftover due to the commit
691beb1

Signed-off-by: Suresh Jayaraman <sjayaraman@suse.de>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
  • Loading branch information
Suresh Jayaraman authored and Trond Myklebust committed Mar 11, 2009
1 parent fe315e7 commit 2b57dc6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions fs/nfs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 2b57dc6

Please sign in to comment.