ceph: avoid useless ceph_get_dentry_parent_inode() in ceph_rename()
authorSage Weil <sage@inktank.com>
Tue, 5 Feb 2013 21:36:05 +0000 (13:36 -0800)
committerYan, Zheng <zheng.z.yan@intel.com>
Thu, 3 Apr 2014 02:33:52 +0000 (10:33 +0800)
commit180061a58c17681dd236e5059ba57fe092dbe368
tree8f5599c7a2eb11d61da593d908cc5d488b1db371
parent15289dc85b2d03d42d7e479476254be2b17c65d5
ceph: avoid useless ceph_get_dentry_parent_inode() in ceph_rename()

This is just old_dir; no reason to abuse the dcache pointers.

Reported-by: Al Viro <viro.zeniv.linux.org.uk>
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Yan, Zheng <zheng.z.yan@intel.com>
fs/ceph/dir.c