]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - fs/ceph/super.h
ceph: Get rid of d_find_alias in ceph_set_acl
authorAndreas Gruenbacher <agruenba@redhat.com>
Wed, 13 Apr 2016 22:30:16 +0000 (00:30 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 23 Apr 2016 19:41:30 +0000 (15:41 -0400)
commita26feccaba296bd0ae410eabce79cb3443c8a701
treea054e93f0394e9990ad89a1acbda36b4c39962b6
parentce23e640133484eebc20ca7b7668388213e11327
ceph: Get rid of d_find_alias in ceph_set_acl

Create a variant of ceph_setattr that takes an inode instead of a
dentry.  Change __ceph_setxattr (and also __ceph_removexattr) to take an
inode instead of a dentry.  Use those in ceph_set_acl so that we no
longer need a dentry there.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ceph/acl.c
fs/ceph/inode.c
fs/ceph/super.h
fs/ceph/xattr.c