aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorSweet Tea Dorminy <[email protected]>2022-04-08 13:15:07 -0400
committerDavid Sterba <[email protected]>2022-05-16 17:03:09 +0200
commit6c3636ebe39270b85ba8ad75435be4f563d9b1b7 (patch)
tree5f8eab1bd2efcd9669d3928824dd5f88284d3bce /tools/perf/scripts/python/bin/stackcollapse-report
parentcaae78e032343df525b8d05c58b462827f10b2a3 (diff)
btrfs: restore inode creation before xattr setting
According to the tree checker, "all xattrs with a given objectid follow the inode with that objectid in the tree" is an invariant. This was broken by the recent change "btrfs: move common inode creation code into btrfs_create_new_inode()", which moved acl creation and property inheritance (stored in xattrs) to before inode insertion into the tree. As a result, under certain timings, the xattrs could be written to the tree before the inode, causing the tree checker to report violation of the invariant. Move property inheritance and acl creation back to their old ordering after the inode insertion. Suggested-by: Omar Sandoval <[email protected]> Reported-by: Naohiro Aota <[email protected]> Signed-off-by: Sweet Tea Dorminy <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions