diff options
| author | Omar Sandoval <osandov@fb.com> | 2022-03-09 17:31:36 -0800 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2022-05-16 17:03:06 +0200 |
| commit | 6d831f7ef9f0cecef7ae1f6f55c5739d6f3b9143 (patch) | |
| tree | 36cc3fe177ebe98d748f9e95c7f83f225b7a4281 /tools/perf/scripts/python/bin | |
| parent | btrfs: remove unnecessary btrfs_i_size_write(0) calls (diff) | |
| download | linux-6d831f7ef9f0cecef7ae1f6f55c5739d6f3b9143.tar.gz linux-6d831f7ef9f0cecef7ae1f6f55c5739d6f3b9143.zip | |
btrfs: remove unnecessary inode_set_bytes(0) call
new_inode() always returns an inode with i_blocks and i_bytes set to 0
(via inode_init_always()). Remove the unnecessary call to
inode_set_bytes() in btrfs_new_inode().
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/bin')
0 files changed, 0 insertions, 0 deletions
