diff options
author | Markus Trippelsdorf <markus@trippelsdorf.de> | 2009-06-24 16:28:52 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2009-06-24 16:34:50 -0400 |
commit | 641cf4a668e9e69d2bc061e953422ff72a91f86e (patch) | |
tree | 77f34986228430a13d5b2a64e52c0b681b02bf70 | |
parent | c82e6d450fda56cb2d4f68534173d3cd11b32f9f (diff) |
inline functions left without protection of ifdef (acl)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r-- | include/linux/posix_acl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/posix_acl.h b/include/linux/posix_acl.h index 0cdba01b7756..c513466c7dc7 100644 --- a/include/linux/posix_acl.h +++ b/include/linux/posix_acl.h | |||
@@ -83,6 +83,7 @@ extern int posix_acl_chmod_masq(struct posix_acl *, mode_t); | |||
83 | extern struct posix_acl *get_posix_acl(struct inode *, int); | 83 | extern struct posix_acl *get_posix_acl(struct inode *, int); |
84 | extern int set_posix_acl(struct inode *, int, struct posix_acl *); | 84 | extern int set_posix_acl(struct inode *, int, struct posix_acl *); |
85 | 85 | ||
86 | #ifdef CONFIG_FS_POSIX_ACL | ||
86 | static inline struct posix_acl *get_cached_acl(struct inode *inode, int type) | 87 | static inline struct posix_acl *get_cached_acl(struct inode *inode, int type) |
87 | { | 88 | { |
88 | struct posix_acl **p, *acl; | 89 | struct posix_acl **p, *acl; |
@@ -146,5 +147,5 @@ static inline void forget_cached_acl(struct inode *inode, int type) | |||
146 | if (old != ACL_NOT_CACHED) | 147 | if (old != ACL_NOT_CACHED) |
147 | posix_acl_release(old); | 148 | posix_acl_release(old); |
148 | } | 149 | } |
149 | 150 | #endif | |
150 | #endif /* __LINUX_POSIX_ACL_H */ | 151 | #endif /* __LINUX_POSIX_ACL_H */ |