]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: remove struct extent_io_ops
authorNikolay Borisov <nborisov@suse.com>
Fri, 18 Sep 2020 13:34:39 +0000 (16:34 +0300)
committerDavid Sterba <dsterba@suse.com>
Wed, 7 Oct 2020 10:13:25 +0000 (12:13 +0200)
commit281dbcd8a4fa1118272dcc9e0e149ff2bf983be3
treedeac3d06e20d5788b13196a4b9c81361cf52f0fd
parentd805d5aa3966be946706c754d9981ff049fed15e
btrfs: remove struct extent_io_ops

It's no longer used just remove the function and any related code which
was initialising it for inodes. No functional changes.

Removing 8 bytes from extent_io_tree in turn reduces size of other
structures where it is embedded, notably btrfs_inode where it reduces
size by 24 bytes.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h
fs/btrfs/disk-io.c
fs/btrfs/extent-io-tree.h
fs/btrfs/extent_io.c
fs/btrfs/extent_io.h
fs/btrfs/inode.c
fs/btrfs/tests/inode-tests.c