mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-05 22:28:00 +00:00
inline functions left without protection of ifdef (acl)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
c82e6d450f
commit
641cf4a668
1 changed files with 2 additions and 1 deletions
|
@ -83,6 +83,7 @@ extern int posix_acl_chmod_masq(struct posix_acl *, mode_t);
|
||||||
extern struct posix_acl *get_posix_acl(struct inode *, int);
|
extern struct posix_acl *get_posix_acl(struct inode *, int);
|
||||||
extern int set_posix_acl(struct inode *, int, struct posix_acl *);
|
extern int set_posix_acl(struct inode *, int, struct posix_acl *);
|
||||||
|
|
||||||
|
#ifdef CONFIG_FS_POSIX_ACL
|
||||||
static inline struct posix_acl *get_cached_acl(struct inode *inode, int type)
|
static inline struct posix_acl *get_cached_acl(struct inode *inode, int type)
|
||||||
{
|
{
|
||||||
struct posix_acl **p, *acl;
|
struct posix_acl **p, *acl;
|
||||||
|
@ -146,5 +147,5 @@ static inline void forget_cached_acl(struct inode *inode, int type)
|
||||||
if (old != ACL_NOT_CACHED)
|
if (old != ACL_NOT_CACHED)
|
||||||
posix_acl_release(old);
|
posix_acl_release(old);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
#endif /* __LINUX_POSIX_ACL_H */
|
#endif /* __LINUX_POSIX_ACL_H */
|
||||||
|
|
Loading…
Add table
Reference in a new issue