diff options
| author | Omar Sandoval <osandov@fb.com> | 2022-03-09 17:31:35 -0800 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2022-05-16 17:03:06 +0200 |
| commit | 9124e15f2798662d65cac9c8bb3abaced38af36d (patch) | |
| tree | f334c718afa3c7389bea0bb0dbcd9d6e57ab7694 /tools/perf/scripts/python/bin | |
| parent | btrfs: get rid of btrfs_add_nondir() (diff) | |
| download | linux-9124e15f2798662d65cac9c8bb3abaced38af36d.tar.gz linux-9124e15f2798662d65cac9c8bb3abaced38af36d.zip | |
btrfs: remove unnecessary btrfs_i_size_write(0) calls
btrfs_new_inode() always returns an inode with i_size and disk_i_size
set to 0 (via inode_init_always() and btrfs_alloc_inode(),
respectively). Remove the unnecessary calls to btrfs_i_size_write() in
btrfs_mkdir() and btrfs_create_subvol_root().
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
