]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1a5cab6406e405e295abcd1d879c3adcb63c635f
tree8f5599c7a2eb11d61da593d908cc5d488b1db371
parent5ffc049c9578bbc6154a322e4a153329551bb9a9
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