acl.c (d0e99511834b6828c960e978d9a8cb6e5731250d) | acl.c (13e83a4923bea7c4f2f6714030cb7e56d20ef7e5) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * linux/fs/ceph/acl.c 4 * 5 * Copyright (C) 2013 Guangliang Zhao, <lucienchao@gmail.com> 6 */ 7 8#include <linux/ceph/ceph_debug.h> --- 71 unchanged lines hidden (view full) --- 80 kfree(value); 81 82 if (!IS_ERR(acl)) 83 ceph_set_cached_acl(inode, type, acl); 84 85 return acl; 86} 87 | 1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * linux/fs/ceph/acl.c 4 * 5 * Copyright (C) 2013 Guangliang Zhao, <lucienchao@gmail.com> 6 */ 7 8#include <linux/ceph/ceph_debug.h> --- 71 unchanged lines hidden (view full) --- 80 kfree(value); 81 82 if (!IS_ERR(acl)) 83 ceph_set_cached_acl(inode, type, acl); 84 85 return acl; 86} 87 |
88int ceph_set_acl(struct user_namespace *mnt_userns, struct dentry *dentry, | 88int ceph_set_acl(struct mnt_idmap *idmap, struct dentry *dentry, |
89 struct posix_acl *acl, int type) 90{ 91 int ret = 0, size = 0; 92 const char *name = NULL; 93 char *value = NULL; 94 struct iattr newattrs; 95 struct inode *inode = d_inode(dentry); 96 struct timespec64 old_ctime = inode->i_ctime; --- 167 unchanged lines hidden --- | 89 struct posix_acl *acl, int type) 90{ 91 int ret = 0, size = 0; 92 const char *name = NULL; 93 char *value = NULL; 94 struct iattr newattrs; 95 struct inode *inode = d_inode(dentry); 96 struct timespec64 old_ctime = inode->i_ctime; --- 167 unchanged lines hidden --- |