diff options
| author | Omar Sandoval <osandov@fb.com> | 2022-03-10 04:31:41 +0300 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2022-05-16 18:03:06 +0300 |
| commit | 6437d45835315a36cde09609314da1768a71c299 (patch) | |
| tree | a6975014bd7c88aabd3b1828574733510e2813e8 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 23c24ef8e4181ba5cb56316a17b920deedbbb109 (diff) | |
| download | linux-6437d45835315a36cde09609314da1768a71c299.tar.xz | |
btrfs: move btrfs_get_free_objectid() call into btrfs_new_inode()
Every call of btrfs_new_inode() is immediately preceded by a call to
btrfs_get_free_objectid(). Since getting an inode number is part of
creating a new inode, this is better off being moved into
btrfs_new_inode(). While we're here, get rid of the comment about
reclaiming inode numbers, since we only did that when using the ino
cache, which was removed by commit 5297199a8bca ("btrfs: remove inode
number cache feature").
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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
