Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6.git] / fs / hfsplus / acl.h
blob07c0d4947527f33f46b433686e4a996dbb4aa984
1 /*
2 * linux/fs/hfsplus/acl.h
4 * Vyacheslav Dubeyko <slava@dubeyko.com>
6 * Handler for Posix Access Control Lists (ACLs) support.
7 */
9 #include <linux/posix_acl_xattr.h>
11 #ifdef CONFIG_HFSPLUS_FS_POSIX_ACL
13 /* posix_acl.c */
14 struct posix_acl *hfsplus_get_posix_acl(struct inode *inode, int type);
15 extern int hfsplus_posix_acl_chmod(struct inode *);
16 extern int hfsplus_init_posix_acl(struct inode *, struct inode *);
18 #else /* CONFIG_HFSPLUS_FS_POSIX_ACL */
19 #define hfsplus_get_posix_acl NULL
21 static inline int hfsplus_posix_acl_chmod(struct inode *inode)
23 return 0;
26 static inline int hfsplus_init_posix_acl(struct inode *inode, struct inode *dir)
28 return 0;
30 #endif /* CONFIG_HFSPLUS_FS_POSIX_ACL */