diff options
author | Jeff Layton <jlayton@kernel.org> | 2019-04-29 18:51:02 +0300 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2019-05-07 20:22:37 +0300 |
commit | 964fff7491e4923e18ff08f2a254c4b94e3f83d6 (patch) | |
tree | d9a103227b8586c155dd44ac8b566c151d8b6f19 /fs/ceph/mds_client.h | |
parent | 69a10fb3f4b8769ffd44e4eaa662ab691fa61f4c (diff) | |
download | linux-964fff7491e4923e18ff08f2a254c4b94e3f83d6.tar.xz |
ceph: use ceph_mdsc_build_path instead of clone_dentry_name
While it may be slightly more efficient, it's probably not worthwhile to
optimize for the case that clone_dentry_name handles. We can get the
same result by just calling ceph_mdsc_build_path when the parent isn't
locked, with less code duplication.
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph/mds_client.h')
0 files changed, 0 insertions, 0 deletions