ceph: pass parent inode info to ceph_encode_dentry_release if we have it
authorJeff Layton <jlayton@redhat.com>
Thu, 15 Dec 2016 13:37:59 +0000 (08:37 -0500)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 20 Feb 2017 11:16:05 +0000 (12:16 +0100)
commitca6c8ae0f7930dad7e10664e3b5bc657dd75be60
tree7884d37315345b0280a38d89a607a1d8a0559b03
parentadf0d68701c7f3e50f21308c76f41e60956a6832
ceph: pass parent inode info to ceph_encode_dentry_release if we have it

If we have a parent inode reference already, then we don't need to
go back up the directory tree to find one.

Link: http://tracker.ceph.com/issues/18148
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Yan, Zheng <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/caps.c
fs/ceph/mds_client.c
fs/ceph/super.h