Linux 5.8-rc4
[linux/fpc-iii.git] / fs / jfs / jfs_acl.h
blob9f8f92dd6f84b34db149d6afdfe94adbdc6c077d
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
8 #ifdef CONFIG_JFS_POSIX_ACL
10 struct posix_acl *jfs_get_acl(struct inode *inode, int type);
11 int jfs_set_acl(struct inode *inode, struct posix_acl *acl, int type);
12 int jfs_init_acl(tid_t, struct inode *, struct inode *);
14 #else
16 static inline int jfs_init_acl(tid_t tid, struct inode *inode,
17 struct inode *dir)
19 return 0;
22 #endif
23 #endif /* _H_JFS_ACL */