mds: journal the projected root xattrs in add_root()

In EMetaBlob::add_root(), we should log the projected root xattrs
instead of original ones to reflect xattr changes.

Signed-off-by: Kuan Kai Chiu <big.chiu@bigtera.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
This commit is contained in:
Kuan Kai Chiu 2013-04-18 14:43:26 +08:00 committed by Greg Farnum
parent f379ce37bf
commit 87634d882f

View File

@ -468,7 +468,7 @@ private:
if (!pi) pi = in->get_projected_inode();
if (!pdft) pdft = &in->dirfragtree;
if (!px) px = &in->xattrs;
if (!px) px = in->get_projected_xattrs();
bufferlist snapbl;
if (psnapbl)