jfs_acl.h 525 B

1234567891011121314151617181920212223
  1. /* SPDX-License-Identifier: GPL-2.0-or-later */
  2. /*
  3. * Copyright (C) International Business Machines Corp., 2002
  4. */
  5. #ifndef _H_JFS_ACL
  6. #define _H_JFS_ACL
  7. #ifdef CONFIG_JFS_POSIX_ACL
  8. struct posix_acl *jfs_get_acl(struct inode *inode, int type);
  9. int jfs_set_acl(struct inode *inode, struct posix_acl *acl, int type);
  10. int jfs_init_acl(tid_t, struct inode *, struct inode *);
  11. #else
  12. static inline int jfs_init_acl(tid_t tid, struct inode *inode,
  13. struct inode *dir)
  14. {
  15. return 0;
  16. }
  17. #endif
  18. #endif /* _H_JFS_ACL */