summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorOmar Sandoval <osandov@fb.com>2022-03-10 04:31:42 +0300
committerDavid Sterba <dsterba@suse.com>2022-05-16 18:03:06 +0300
commit305eaac009113d1d082147b522a92eed01fec263 (patch)
tree04fc4a9a1695b037b0fd1b142e798d99ee205e40 /tools/perf/scripts/python/flamegraph.py
parent6437d45835315a36cde09609314da1768a71c299 (diff)
downloadlinux-305eaac009113d1d082147b522a92eed01fec263.tar.xz
btrfs: set inode flags earlier in btrfs_new_inode()
btrfs_new_inode() inherits the inode flags from the parent directory and the mount options _after_ we fill the inode item. This works because all of the callers of btrfs_new_inode() make further changes to the inode and then call btrfs_update_inode(). It'd be better to fully initialize the inode once to avoid the extra update, so as a first step, set the inode flags _before_ filling the inode item. Reviewed-by: Sweet Tea Dorminy <sweettea-kernel@dorminy.me> Signed-off-by: Omar Sandoval <osandov@fb.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions