acl.c (d0e99511834b6828c960e978d9a8cb6e5731250d) acl.c (13e83a4923bea7c4f2f6714030cb7e56d20ef7e5)
1/*
2 * FUSE: Filesystem in Userspace
3 * Copyright (C) 2016 Canonical Ltd. <seth.forshee@canonical.com>
4 *
5 * This program can be distributed under the terms of the GNU GPL.
6 * See the file COPYING.
7 */
8

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

48 acl = ERR_PTR(-E2BIG);
49 else
50 acl = ERR_PTR(size);
51
52 kfree(value);
53 return acl;
54}
55
1/*
2 * FUSE: Filesystem in Userspace
3 * Copyright (C) 2016 Canonical Ltd. <seth.forshee@canonical.com>
4 *
5 * This program can be distributed under the terms of the GNU GPL.
6 * See the file COPYING.
7 */
8

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

48 acl = ERR_PTR(-E2BIG);
49 else
50 acl = ERR_PTR(size);
51
52 kfree(value);
53 return acl;
54}
55
56int fuse_set_acl(struct user_namespace *mnt_userns, struct dentry *dentry,
56int fuse_set_acl(struct mnt_idmap *idmap, struct dentry *dentry,
57 struct posix_acl *acl, int type)
58{
59 struct inode *inode = d_inode(dentry);
60 struct fuse_conn *fc = get_fuse_conn(inode);
61 const char *name;
62 int ret;
63
64 if (fuse_is_bad(inode))

--- 51 unchanged lines hidden ---
57 struct posix_acl *acl, int type)
58{
59 struct inode *inode = d_inode(dentry);
60 struct fuse_conn *fc = get_fuse_conn(inode);
61 const char *name;
62 int ret;
63
64 if (fuse_is_bad(inode))

--- 51 unchanged lines hidden ---