acl.c (d0e99511834b6828c960e978d9a8cb6e5731250d) | acl.c (13e83a4923bea7c4f2f6714030cb7e56d20ef7e5) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-or-later 2/* 3 * Copyright (C) International Business Machines Corp., 2002-2004 4 * Copyright (C) Andreas Gruenbacher, 2001 5 * Copyright (C) Linus Torvalds, 1991, 1992 6 */ 7 8#include <linux/sched.h> --- 80 unchanged lines hidden (view full) --- 89 kfree(value); 90 91 if (!rc) 92 set_cached_acl(inode, type, acl); 93 94 return rc; 95} 96 | 1// SPDX-License-Identifier: GPL-2.0-or-later 2/* 3 * Copyright (C) International Business Machines Corp., 2002-2004 4 * Copyright (C) Andreas Gruenbacher, 2001 5 * Copyright (C) Linus Torvalds, 1991, 1992 6 */ 7 8#include <linux/sched.h> --- 80 unchanged lines hidden (view full) --- 89 kfree(value); 90 91 if (!rc) 92 set_cached_acl(inode, type, acl); 93 94 return rc; 95} 96 |
97int jfs_set_acl(struct user_namespace *mnt_userns, struct dentry *dentry, | 97int jfs_set_acl(struct mnt_idmap *idmap, struct dentry *dentry, |
98 struct posix_acl *acl, int type) 99{ 100 int rc; 101 tid_t tid; 102 int update_mode = 0; 103 struct inode *inode = d_inode(dentry); 104 umode_t mode = inode->i_mode; 105 --- 53 unchanged lines hidden --- | 98 struct posix_acl *acl, int type) 99{ 100 int rc; 101 tid_t tid; 102 int update_mode = 0; 103 struct inode *inode = d_inode(dentry); 104 umode_t mode = inode->i_mode; 105 --- 53 unchanged lines hidden --- |