X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Futils%2Fll_recover_lost_found_objs.c;h=cb085aa88bf7bb33a8c7b900aa886755803bb5f3;hb=64fb5f52a2d5a1e6a7e24ffff8fd7d60007a351e;hp=d32985b1ed2cb6a339d01abea525490e5e964b9a;hpb=98060d83459ba10409f295898f0ec917f938b4d3;p=fs%2Flustre-release.git diff --git a/lustre/utils/ll_recover_lost_found_objs.c b/lustre/utils/ll_recover_lost_found_objs.c index d32985b..cb085aa 100644 --- a/lustre/utils/ll_recover_lost_found_objs.c +++ b/lustre/utils/ll_recover_lost_found_objs.c @@ -332,11 +332,11 @@ static int traverse_lost_found(char *src_dir, const char *mount_path) ff_objid = le64_to_cpu(ff.ff_objid); } else { ff_seq = le64_to_cpu(lma.lma_self_fid.f_seq); - ff_objid = le64_to_cpu(lma.lma_self_fid.f_oid); + ff_objid = le32_to_cpu(lma.lma_self_fid.f_oid); } sprintf(seq_name, (fid_seq_is_rsvd(ff_seq) || - fid_seq_is_mdt0(ff_seq)) ? LPU64 : LPX64i, + fid_seq_is_mdt0(ff_seq)) ? LPU64 : LPX64i, fid_seq_is_idif(ff_seq) ? 0 : ff_seq);