mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
Get "no acls for this inode" right, fix shmem breakage
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
641cf4a668
commit
72c04902d1
4 changed files with 13 additions and 10 deletions
|
@ -148,4 +148,13 @@ static inline void forget_cached_acl(struct inode *inode, int type)
|
|||
posix_acl_release(old);
|
||||
}
|
||||
#endif
|
||||
|
||||
static inline void cache_no_acl(struct inode *inode)
|
||||
{
|
||||
#ifdef CONFIG_FS_POSIX_ACL
|
||||
inode->i_acl = NULL;
|
||||
inode->i_default_acl = NULL;
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif /* __LINUX_POSIX_ACL_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue