Simplify functions that take struct key for lookup but don't use all the members. Reduces size of .ko by about 1.2K and stack consumption is reduced by 450 bytes in total. David Sterba (3): btrfs: simplify root lookup by id btrfs: open code read_fs_root btrfs: simplify iget helpers fs/btrfs/backref.c | 13 ++--------- fs/btrfs/ctree.h | 5 ++-- fs/btrfs/disk-io.c | 35 +++++++++++++--------------- fs/btrfs/disk-io.h | 3 +-- fs/btrfs/export.c | 17 +++----------- fs/btrfs/file.c | 12 ++-------- fs/btrfs/free-space-cache.c | 2 +- fs/btrfs/inode.c | 42 +++++++++++++++++---------------- fs/btrfs/ioctl.c | 30 ++++++------------------ fs/btrfs/props.c | 9 ++------ fs/btrfs/relocation.c | 46 +++++++++++-------------------------- fs/btrfs/root-tree.c | 12 ++++------ fs/btrfs/scrub.c | 6 +---- fs/btrfs/send.c | 22 ++++-------------- fs/btrfs/super.c | 11 ++------- fs/btrfs/transaction.c | 2 +- fs/btrfs/tree-log.c | 32 ++++++++++---------------- fs/btrfs/uuid-tree.c | 6 +---- 18 files changed, 99 insertions(+), 206 deletions(-) -- 2.25.0
