Whamcloud - gitweb
LU-2193 mdt: replace fid_build_from_res_name
authorFan Yong <fan.yong@intel.com>
Fri, 24 May 2013 05:24:15 +0000 (13:24 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 7 Jun 2013 08:06:19 +0000 (04:06 -0400)
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 <fan.yong@intel.com>
Change-Id: I74804c61361b6c03d4dccd732bce96d9b57f037b
Reviewed-on: http://review.whamcloud.com/6565
Reviewed-by: Jian Yu <jian.yu@intel.com>
Tested-by: Hudson
Reviewed-by: James Simmons <uja.ornl@gmail.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
lustre/mdt/mdt_handler.c

index acf394d..0b4359d 100644 (file)
@@ -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))