summaryrefslogtreecommitdiffstats
path: root/fs/nfs/internal.h
diff options
context:
space:
mode:
authorTrond Myklebust2008-06-11 23:39:04 +0200
committerTrond Myklebust2008-07-09 18:09:19 +0200
commitf41f741838480aeaa3a189cff6e210503cf9c42d (patch)
treefc4509d47132c28ca211e57d8f59b56accb6db8b /fs/nfs/internal.h
parentNFS: Fix a warning in nfs4_async_handle_error (diff)
downloadkernel-qcow2-linux-f41f741838480aeaa3a189cff6e210503cf9c42d.tar.gz
kernel-qcow2-linux-f41f741838480aeaa3a189cff6e210503cf9c42d.tar.xz
kernel-qcow2-linux-f41f741838480aeaa3a189cff6e210503cf9c42d.zip
NFS: Ensure we zap only the access and acl caches when setting new acls
...and ensure that we obey the NFS_INO_INVALID_ACL flag when retrieving the acls. 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 04ae867dddba..24241fcbb98d 100644
--- a/fs/nfs/internal.h
+++ b/fs/nfs/internal.h
@@ -150,6 +150,7 @@ extern void nfs_clear_inode(struct inode *);
#ifdef CONFIG_NFS_V4
extern void nfs4_clear_inode(struct inode *);
#endif
+void nfs_zap_acl_cache(struct inode *inode);
/* super.c */
extern struct file_system_type nfs_xdev_fs_type;