inline functions left without protection of ifdef (acl)

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

authored by Markus Trippelsdorf and committed by Al Viro 641cf4a6 c82e6d45

+2 -1
+2 -1
include/linux/posix_acl.h
··· 83 extern struct posix_acl *get_posix_acl(struct inode *, int); 84 extern int set_posix_acl(struct inode *, int, struct posix_acl *); 85 86 static inline struct posix_acl *get_cached_acl(struct inode *inode, int type) 87 { 88 struct posix_acl **p, *acl; ··· 147 if (old != ACL_NOT_CACHED) 148 posix_acl_release(old); 149 } 150 - 151 #endif /* __LINUX_POSIX_ACL_H */
··· 83 extern struct posix_acl *get_posix_acl(struct inode *, int); 84 extern int set_posix_acl(struct inode *, int, struct posix_acl *); 85 86 + #ifdef CONFIG_FS_POSIX_ACL 87 static inline struct posix_acl *get_cached_acl(struct inode *inode, int type) 88 { 89 struct posix_acl **p, *acl; ··· 146 if (old != ACL_NOT_CACHED) 147 posix_acl_release(old); 148 } 149 + #endif 150 #endif /* __LINUX_POSIX_ACL_H */