From: wangdi Date: Fri, 4 Aug 2006 02:56:28 +0000 (+0000) Subject: Branch: b_new_cmd X-Git-Tag: v1_8_0_110~486^2~1284 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=c90932d55396a1be3b6cf79823070f4fd7cc845b;p=fs%2Flustre-release.git Branch: b_new_cmd revert "reset lmm_md_size" back. since we need it --- diff --git a/lustre/mdt/mdt_open.c b/lustre/mdt/mdt_open.c index 51b7dcb..c27311a 100644 --- a/lustre/mdt/mdt_open.c +++ b/lustre/mdt/mdt_open.c @@ -119,7 +119,9 @@ static int mdt_mfd_open(struct mdt_thread_info *info, /*No EA, check whether it is will set regEA and dirEA *since in above attr get, these size might be zero, *so reset it, to retrieve the MD after create obj*/ - + ma->ma_lmm_size = req_capsule_get_size(&info->mti_pill, + &RMF_MDT_MD, + RCL_SERVER); LASSERT(p != NULL); rc = mdt_create_data_obj(info, p, o); if (rc)