linux/fs/hfsplus/acl.h
<<
>>
Prefs
   1/*
   2 * linux/fs/hfsplus/acl.h
   3 *
   4 * Vyacheslav Dubeyko <slava@dubeyko.com>
   5 *
   6 * Handler for Posix Access Control Lists (ACLs) support.
   7 */
   8
   9#include <linux/posix_acl_xattr.h>
  10
  11#ifdef CONFIG_HFSPLUS_FS_POSIX_ACL
  12
  13/* posix_acl.c */
  14struct posix_acl *hfsplus_get_posix_acl(struct inode *inode, int type);
  15extern int hfsplus_posix_acl_chmod(struct inode *);
  16extern int hfsplus_init_posix_acl(struct inode *, struct inode *);
  17
  18#else  /* CONFIG_HFSPLUS_FS_POSIX_ACL */
  19#define hfsplus_get_posix_acl NULL
  20
  21static inline int hfsplus_posix_acl_chmod(struct inode *inode)
  22{
  23        return 0;
  24}
  25
  26static inline int hfsplus_init_posix_acl(struct inode *inode, struct inode *dir)
  27{
  28        return 0;
  29}
  30#endif  /* CONFIG_HFSPLUS_FS_POSIX_ACL */
  31
lxr.linux.no kindly hosted by Redpill Linpro AS, provider of Linux consulting and operations services since 1995.