From: Fan Yong Date: Fri, 24 May 2013 05:24:15 +0000 (+0800) Subject: LU-2193 mdt: replace fid_build_from_res_name X-Git-Tag: 2.4.1-RC1~75 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=ef824f5659c391d8433b9a755a04f40963db6a72;p=fs%2Flustre-release.git LU-2193 mdt: replace fid_build_from_res_name We miss to replace fid_build_from_res_name() with new function fid_extract_from_res_name() in mdt_handler.c Signed-off-by: Fan Yong Change-Id: I74804c61361b6c03d4dccd732bce96d9b57f037b Reviewed-on: http://review.whamcloud.com/6565 Reviewed-by: Jian Yu Tested-by: Hudson Reviewed-by: James Simmons Reviewed-by: Andreas Dilger Tested-by: Maloo --- diff --git a/lustre/mdt/mdt_handler.c b/lustre/mdt/mdt_handler.c index 13bc110..9cf1e89 100644 --- a/lustre/mdt/mdt_handler.c +++ b/lustre/mdt/mdt_handler.c @@ -3750,7 +3750,7 @@ static int mdt_intent_layout(enum mdt_it_code opcode, } fid = &info->mti_tmp_fid2; - fid_build_from_res_name(fid, &(*lockp)->l_resource->lr_name); + fid_extract_from_res_name(fid, &(*lockp)->l_resource->lr_name); obj = mdt_object_find(info->mti_env, info->mti_mdt, fid); if (IS_ERR(obj))