Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c22db47
)
Branch: b_new_cmd
author
wangdi
<wangdi>
Fri, 4 Aug 2006 02:56:28 +0000
(
02:56
+0000)
committer
wangdi
<wangdi>
Fri, 4 Aug 2006 02:56:28 +0000
(
02:56
+0000)
revert "reset lmm_md_size" back. since we need it
lustre/mdt/mdt_open.c
patch
|
blob
|
history
diff --git
a/lustre/mdt/mdt_open.c
b/lustre/mdt/mdt_open.c
index
51b7dcb
..
c27311a
100644
(file)
--- 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)