]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0584885a96a006bebea4e78d795d29fff0e39259
treea054e93f0394e9990ad89a1acbda36b4c39962b6
parent1282a20d2093ce516340539e0fe2db8f426b4185
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