diff options
author | Christoph Hellwig <hch@infradead.org> | 2013-12-20 08:16:53 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-01-26 08:26:20 -0500 |
commit | 013cdf1088d7235da9477a2375654921d9b9ba9f (patch) | |
tree | 56a89d0a58282c517f6c5a8e68e3d341184e40d1 /include/linux/posix_acl.h | |
parent | e01580bf9e4d0e3bbaead44bd46cdbfe61957732 (diff) |
nfs: use generic posix ACL infrastructure for v3 Posix ACLs
This causes a small behaviour change in that we don't bother to set
ACLs on file creation if the mode bit can express the access permissions
fully, and thus behaving identical to local filesystems.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/posix_acl.h')
-rw-r--r-- | include/linux/posix_acl.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/posix_acl.h b/include/linux/posix_acl.h index f7e6f6cb214a..3d14be8e14db 100644 --- a/include/linux/posix_acl.h +++ b/include/linux/posix_acl.h | |||
@@ -191,6 +191,10 @@ static inline int posix_acl_create(struct inode *inode, umode_t *mode, | |||
191 | *default_acl = *acl = NULL; | 191 | *default_acl = *acl = NULL; |
192 | return 0; | 192 | return 0; |
193 | } | 193 | } |
194 | |||
195 | static inline void forget_all_cached_acls(struct inode *inode) | ||
196 | { | ||
197 | } | ||
194 | #endif /* CONFIG_FS_POSIX_ACL */ | 198 | #endif /* CONFIG_FS_POSIX_ACL */ |
195 | 199 | ||
196 | struct posix_acl *get_acl(struct inode *inode, int type); | 200 | struct posix_acl *get_acl(struct inode *inode, int type); |