acl.c (d0e99511834b6828c960e978d9a8cb6e5731250d) | acl.c (13e83a4923bea7c4f2f6714030cb7e56d20ef7e5) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * linux/fs/ext2/acl.c 4 * 5 * Copyright (C) 2001-2003 Andreas Gruenbacher, <agruen@suse.de> 6 */ 7 8#include <linux/init.h> --- 205 unchanged lines hidden (view full) --- 214 set_cached_acl(inode, type, acl); 215 return error; 216} 217 218/* 219 * inode->i_mutex: down 220 */ 221int | 1// SPDX-License-Identifier: GPL-2.0 2/* 3 * linux/fs/ext2/acl.c 4 * 5 * Copyright (C) 2001-2003 Andreas Gruenbacher, <agruen@suse.de> 6 */ 7 8#include <linux/init.h> --- 205 unchanged lines hidden (view full) --- 214 set_cached_acl(inode, type, acl); 215 return error; 216} 217 218/* 219 * inode->i_mutex: down 220 */ 221int |
222ext2_set_acl(struct user_namespace *mnt_userns, struct dentry *dentry, | 222ext2_set_acl(struct mnt_idmap *idmap, struct dentry *dentry, |
223 struct posix_acl *acl, int type) 224{ 225 int error; 226 int update_mode = 0; 227 struct inode *inode = d_inode(dentry); 228 umode_t mode = inode->i_mode; 229 230 if (type == ACL_TYPE_ACCESS && acl) { --- 46 unchanged lines hidden --- | 223 struct posix_acl *acl, int type) 224{ 225 int error; 226 int update_mode = 0; 227 struct inode *inode = d_inode(dentry); 228 umode_t mode = inode->i_mode; 229 230 if (type == ACL_TYPE_ACCESS && acl) { --- 46 unchanged lines hidden --- |