Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm
[linux-stable.git] / fs / jfs / jfs_acl.h
blobf892e54d0fcd2d0a956beb9cd9811310ffdc063b
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, bool rcu);
11 int jfs_set_acl(struct mnt_idmap *idmap, struct dentry *dentry,
12 struct posix_acl *acl, int type);
13 int jfs_init_acl(tid_t, struct inode *, struct inode *);
15 #else
17 static inline int jfs_init_acl(tid_t tid, struct inode *inode,
18 struct inode *dir)
20 return 0;
23 #endif
24 #endif /* _H_JFS_ACL */