acl.c (d0e99511834b6828c960e978d9a8cb6e5731250d) acl.c (13e83a4923bea7c4f2f6714030cb7e56d20ef7e5)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * (C) 2001 Clemson University and The University of Chicago
4 *
5 * See COPYING in top-level directory.
6 */
7
8#include "protocol.h"

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

113
114out:
115 kfree(value);
116 if (!error)
117 set_cached_acl(inode, type, acl);
118 return error;
119}
120
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * (C) 2001 Clemson University and The University of Chicago
4 *
5 * See COPYING in top-level directory.
6 */
7
8#include "protocol.h"

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

113
114out:
115 kfree(value);
116 if (!error)
117 set_cached_acl(inode, type, acl);
118 return error;
119}
120
121int orangefs_set_acl(struct user_namespace *mnt_userns, struct dentry *dentry,
121int orangefs_set_acl(struct mnt_idmap *idmap, struct dentry *dentry,
122 struct posix_acl *acl, int type)
123{
124 int error;
125 struct iattr iattr;
126 int rc;
127 struct inode *inode = d_inode(dentry);
128
129 memset(&iattr, 0, sizeof iattr);

--- 30 unchanged lines hidden ---
122 struct posix_acl *acl, int type)
123{
124 int error;
125 struct iattr iattr;
126 int rc;
127 struct inode *inode = d_inode(dentry);
128
129 memset(&iattr, 0, sizeof iattr);

--- 30 unchanged lines hidden ---