summaryrefslogtreecommitdiffstats
path: root/fs/nfs/internal.h
diff options
context:
space:
mode:
authorTrond Myklebust2012-12-14 20:36:36 +0100
committerTrond Myklebust2012-12-14 20:36:36 +0100
commiteed9935745cc44071043ec8c4cde64c820b5c601 (patch)
treecdbfb893753acd43fddee09a5d34b16e2422cd34 /fs/nfs/internal.h
parentnfs: Remove unused list nfs4_clientid_list (diff)
downloadkernel-qcow2-linux-eed9935745cc44071043ec8c4cde64c820b5c601.tar.gz
kernel-qcow2-linux-eed9935745cc44071043ec8c4cde64c820b5c601.tar.xz
kernel-qcow2-linux-eed9935745cc44071043ec8c4cde64c820b5c601.zip
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/internal.h')
-rw-r--r--fs/nfs/internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h
index 89c1ee4a432c..f0e6c7df1a07 100644
--- a/fs/nfs/internal.h
+++ b/fs/nfs/internal.h
@@ -296,6 +296,7 @@ extern struct workqueue_struct *nfsiod_workqueue;
extern struct inode *nfs_alloc_inode(struct super_block *sb);
extern void nfs_destroy_inode(struct inode *);
extern int nfs_write_inode(struct inode *, struct writeback_control *);
+extern int nfs_drop_inode(struct inode *);
extern void nfs_clear_inode(struct inode *);
extern void nfs_evict_inode(struct inode *);
void nfs_zap_acl_cache(struct inode *inode);