acl.h (d0e99511834b6828c960e978d9a8cb6e5731250d) acl.h (13e83a4923bea7c4f2f6714030cb7e56d20ef7e5)
1/* SPDX-License-Identifier: GPL-2.0 */
2#include <linux/init.h>
3#include <linux/posix_acl.h>
4
5#define REISERFS_ACL_VERSION 0x0001
6
7typedef struct {
8 __le16 e_tag;

--- 35 unchanged lines hidden (view full) ---

44 if (s % sizeof(reiserfs_acl_entry))
45 return -1;
46 return s / sizeof(reiserfs_acl_entry) + 4;
47 }
48}
49
50#ifdef CONFIG_REISERFS_FS_POSIX_ACL
51struct posix_acl *reiserfs_get_acl(struct inode *inode, int type, bool rcu);
1/* SPDX-License-Identifier: GPL-2.0 */
2#include <linux/init.h>
3#include <linux/posix_acl.h>
4
5#define REISERFS_ACL_VERSION 0x0001
6
7typedef struct {
8 __le16 e_tag;

--- 35 unchanged lines hidden (view full) ---

44 if (s % sizeof(reiserfs_acl_entry))
45 return -1;
46 return s / sizeof(reiserfs_acl_entry) + 4;
47 }
48}
49
50#ifdef CONFIG_REISERFS_FS_POSIX_ACL
51struct posix_acl *reiserfs_get_acl(struct inode *inode, int type, bool rcu);
52int reiserfs_set_acl(struct user_namespace *mnt_userns, struct dentry *dentry,
52int reiserfs_set_acl(struct mnt_idmap *idmap, struct dentry *dentry,
53 struct posix_acl *acl, int type);
54int reiserfs_acl_chmod(struct dentry *dentry);
55int reiserfs_inherit_default_acl(struct reiserfs_transaction_handle *th,
56 struct inode *dir, struct dentry *dentry,
57 struct inode *inode);
58int reiserfs_cache_default_acl(struct inode *dir);
59
60#else

--- 18 unchanged lines hidden ---
53 struct posix_acl *acl, int type);
54int reiserfs_acl_chmod(struct dentry *dentry);
55int reiserfs_inherit_default_acl(struct reiserfs_transaction_handle *th,
56 struct inode *dir, struct dentry *dentry,
57 struct inode *inode);
58int reiserfs_cache_default_acl(struct inode *dir);
59
60#else

--- 18 unchanged lines hidden ---