From e5603fc22ad4e715fad6e3341337f8054f7f346c Mon Sep 17 00:00:00 2001 From: Fan Yong Date: Fri, 24 May 2013 13:24:15 +0800 Subject: [PATCH] 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 --- lustre/mdt/mdt_handler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/mdt/mdt_handler.c b/lustre/mdt/mdt_handler.c index acf394d..0b4359d 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)) -- 1.8.3.1