OSDN Git Service

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)
commit6d92b304ec6b929f9aa87ae96488daf180d07585
tree071da8b359ceff50ad9588937ff2a36a72f0cb4e
parentcee512682535e0628dd926f56fa86b43f21d10ed
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