diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-12-14 14:36:36 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-12-14 14:36:36 -0500 |
commit | eed9935745cc44071043ec8c4cde64c820b5c601 (patch) | |
tree | cdbfb893753acd43fddee09a5d34b16e2422cd34 /fs/nfs/internal.h | |
parent | 48d7a57693af660666c4afdc54c09b2f9655e260 (diff) | |
download | talos-op-linux-eed9935745cc44071043ec8c4cde64c820b5c601.tar.gz talos-op-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.h | 1 |
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); |