From: adilger Date: Thu, 12 Sep 2002 22:33:05 +0000 (+0000) Subject: Minor fix for getting the EA size. X-Git-Tag: 0.5.8~39 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=e0ba9d395ea33de977418e1ad1776ff81b2329e7;p=fs%2Flustre-release.git Minor fix for getting the EA size. --- diff --git a/lustre/llite/namei.c b/lustre/llite/namei.c index 1d19c2a..ba77204 100644 --- a/lustre/llite/namei.c +++ b/lustre/llite/namei.c @@ -315,7 +315,7 @@ static struct inode *ll_create_node(struct inode *dir, const char *name, } body = lustre_msg_buf(request->rq_repmsg, 0); if (lsm != NULL) { - mds_md_size = ll_mds_easize(inode->i_sb); + mds_md_size = ll_mds_easize(dir->i_sb); OBD_ALLOC(lmm, mds_md_size); lov_packmd(lmm, lsm); lic.lic_lmm = lmm;