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)
commit8996f4f23db735f0f3bab34352188b1ab21d7d7f
treecc9d5da9af62a94511ca6e08a8642ac0843b9f9b
parent9017c2ec78c730fb3ecd703d44e4a9061de2ba52
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