Merge tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
[linux-2.6-block.git] / fs / jfs / jfs_acl.h
CommitLineData
1a59d1b8 1/* SPDX-License-Identifier: GPL-2.0-or-later */
1da177e4 2/*
63f83c9f 3 * Copyright (C) International Business Machines Corp., 2002
1da177e4
LT
4 */
5#ifndef _H_JFS_ACL
6#define _H_JFS_ACL
7
8#ifdef CONFIG_JFS_POSIX_ACL
9
4e34e719 10struct posix_acl *jfs_get_acl(struct inode *inode, int type);
2cc6a5a0 11int jfs_set_acl(struct inode *inode, struct posix_acl *acl, int type);
4f4b401b 12int jfs_init_acl(tid_t, struct inode *, struct inode *);
1da177e4 13
4f4b401b
DK
14#else
15
16static inline int jfs_init_acl(tid_t tid, struct inode *inode,
17 struct inode *dir)
18{
19 return 0;
20}
21
22#endif
1da177e4 23#endif /* _H_JFS_ACL */