]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: fix ceph_fh_to_parent()
authorYan, Zheng <zheng.z.yan@intel.com>
Sat, 1 Mar 2014 15:09:05 +0000 (23:09 +0800)
committerYan, Zheng <zheng.z.yan@intel.com>
Thu, 3 Apr 2014 02:33:53 +0000 (10:33 +0800)
commitf32dc91773059c3fe688f28e7b018d2bd7b8b0f4
treecc9d5da9af62a94511ca6e08a8642ac0843b9f9b
parent4c4805ba6d0d05e4f9348261d6c26e22019b6802
ceph: fix ceph_fh_to_parent()

ceph_fh_to_parent() returns dentry that corresponds to the 'ino' field
of struct ceph_nfs_confh. This is wrong, it should return dentry that
corresponds to the 'parent_ino' field.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Reviewed-by: Sage Weil <sage@inktank.com>
fs/ceph/export.c