aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/internal.h
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2016-12-08 18:18:38 -0500
committerTrond Myklebust <trond.myklebust@primarydata.com>2016-12-19 17:29:35 -0500
commit61540bf6bb40ddfa3e766de91cedca2e1afd24eb (patch)
tree36d2a5f7ad7086cb0cdde12bdd6907676db080f0 /fs/nfs/internal.h
parent58ff41842c7b8b8a79752e3d040188ebddb95194 (diff)
NFS: Clean up cache validity checking
Consolidate the open-coded checking of NFS_I(inode)->cache_validity into a couple of helper functions. Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.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 6b79c2ca9b9a..09ca5095c04e 100644
--- a/fs/nfs/internal.h
+++ b/fs/nfs/internal.h
@@ -381,6 +381,7 @@ extern int nfs_drop_inode(struct inode *);
381extern void nfs_clear_inode(struct inode *); 381extern void nfs_clear_inode(struct inode *);
382extern void nfs_evict_inode(struct inode *); 382extern void nfs_evict_inode(struct inode *);
383void nfs_zap_acl_cache(struct inode *inode); 383void nfs_zap_acl_cache(struct inode *inode);
384extern bool nfs_check_cache_invalid(struct inode *, unsigned long);
384extern int nfs_wait_bit_killable(struct wait_bit_key *key, int mode); 385extern int nfs_wait_bit_killable(struct wait_bit_key *key, int mode);
385extern int nfs_wait_atomic_killable(atomic_t *p); 386extern int nfs_wait_atomic_killable(atomic_t *p);
386 387