]> 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)
commitd79ee1d3e354cf4c7d8caa2f7d8bdb3df787d737
tree071da8b359ceff50ad9588937ff2a36a72f0cb4e
parentdd78a45099e550cf8f201d7fe1a05d673a7f6420
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