aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/inode.c')
-rw-r--r--fs/nfs/inode.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c
index d7abaa00473a..6b0f7fe6bd1d 100644
--- a/fs/nfs/inode.c
+++ b/fs/nfs/inode.c
@@ -1671,8 +1671,7 @@ static void nfs4_clear_inode(struct inode *inode)
1671 struct nfs_inode *nfsi = NFS_I(inode); 1671 struct nfs_inode *nfsi = NFS_I(inode);
1672 1672
1673 /* If we are holding a delegation, return it! */ 1673 /* If we are holding a delegation, return it! */
1674 if (nfsi->delegation != NULL) 1674 nfs_inode_return_delegation(inode);
1675 nfs_inode_return_delegation(inode);
1676 /* First call standard NFS clear_inode() code */ 1675 /* First call standard NFS clear_inode() code */
1677 nfs_clear_inode(inode); 1676 nfs_clear_inode(inode);
1678 /* Now clear out any remaining state */ 1677 /* Now clear out any remaining state */