]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: pass bits by value not by pointer for extent_state helpers
authorDavid Sterba <dsterba@suse.com>
Thu, 25 Jun 2020 15:54:54 +0000 (17:54 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 25 Jul 2022 15:45:35 +0000 (17:45 +0200)
commitc8e57440cc4e44d446ee9376a6d5d8523b72126e
tree071da8b359ceff50ad9588937ff2a36a72f0cb4e
parent471ee988c0d0390727c01801835e15599d84208c
btrfs: pass bits by value not by pointer for extent_state helpers

The bits are passed to all extent state helpers for no apparent reason,
the value only read and never updated so remove the indirection and pass
it directly. Also unify the type to u32 where needed.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h
fs/btrfs/extent_io.c
fs/btrfs/inode.c