aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2005-06-22 13:16:22 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2005-06-22 16:07:09 -0400
commitada70d9425bcc5e376fef8591e4e76e204c0834c (patch)
tree0bf6c369540c467e96555118155cae191fbf71e6 /include
parent92cfc62cb8412c9563860b1bf70cd4701f03092e (diff)
[PATCH] NFS: Add hooks to allow common NFS attribute code to clear cached acls
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/nfs_fs.h1
-rw-r--r--include/linux/nfs_xdr.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h
index 0b01b96337f8..140bdf489f71 100644
--- a/include/linux/nfs_fs.h
+++ b/include/linux/nfs_fs.h
@@ -189,6 +189,7 @@ struct nfs_inode {
189#define NFS_INO_INVALID_DATA 0x0010 /* cached data is invalid */ 189#define NFS_INO_INVALID_DATA 0x0010 /* cached data is invalid */
190#define NFS_INO_INVALID_ATIME 0x0020 /* cached atime is invalid */ 190#define NFS_INO_INVALID_ATIME 0x0020 /* cached atime is invalid */
191#define NFS_INO_INVALID_ACCESS 0x0040 /* cached access cred invalid */ 191#define NFS_INO_INVALID_ACCESS 0x0040 /* cached access cred invalid */
192#define NFS_INO_INVALID_ACL 0x0080 /* cached acls are invalid */
192 193
193static inline struct nfs_inode *NFS_I(struct inode *inode) 194static inline struct nfs_inode *NFS_I(struct inode *inode)
194{ 195{
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h
index 5b45bafd9db5..cf38db59f347 100644
--- a/include/linux/nfs_xdr.h
+++ b/include/linux/nfs_xdr.h
@@ -714,6 +714,7 @@ struct nfs_rpc_ops {
714 int (*file_open) (struct inode *, struct file *); 714 int (*file_open) (struct inode *, struct file *);
715 int (*file_release) (struct inode *, struct file *); 715 int (*file_release) (struct inode *, struct file *);
716 int (*lock)(struct file *, int, struct file_lock *); 716 int (*lock)(struct file *, int, struct file_lock *);
717 void (*clear_acl_cache)(struct inode *);
717}; 718};
718 719
719/* 720/*