mirror of
https://github.com/ceph/ceph
synced 2024-12-27 14:03:25 +00:00
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:
parent
f379ce37bf
commit
87634d882f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user