summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4super.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2012-12-14 14:36:36 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-12-14 14:36:36 -0500
commiteed9935745cc44071043ec8c4cde64c820b5c601 (patch)
treecdbfb893753acd43fddee09a5d34b16e2422cd34 /fs/nfs/nfs4super.c
parent48d7a57693af660666c4afdc54c09b2f9655e260 (diff)
downloadlinux-eed9935745cc44071043ec8c4cde64c820b5c601.tar.bz2
NFS: Ensure that we always drop inodes that have been marked as stale
There is no need to cache stale inodes. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4super.c')
-rw-r--r--fs/nfs/nfs4super.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/nfs4super.c b/fs/nfs/nfs4super.c
index bd61221ad2c5..84d2e9e2f313 100644
--- a/fs/nfs/nfs4super.c
+++ b/fs/nfs/nfs4super.c
@@ -51,6 +51,7 @@ static const struct super_operations nfs4_sops = {
.alloc_inode = nfs_alloc_inode,
.destroy_inode = nfs_destroy_inode,
.write_inode = nfs4_write_inode,
+ .drop_inode = nfs_drop_inode,
.put_super = nfs_put_super,
.statfs = nfs_statfs,
.evict_inode = nfs4_evict_inode,