diff options
| author | Filipe Manana <fdmanana@suse.com> | 2025-08-29 16:46:15 +0100 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2025-09-23 08:49:19 +0200 |
| commit | 2a13cfc949e591702f1288d62c691099c67e04ca (patch) | |
| tree | ea6c96f26f3bac99b30c7b2d04fe507753002c88 /scripts/extract-fwblobs | |
| parent | 6cb7f0b8c9b0d6a35682335fea88bd26f089306f (diff) | |
btrfs: use the inode item boolean everywhere in overwrite_item()
We have this boolean 'inode_item' to tell if we are processing an inode
item key and we use it in a couple of places while in another two places
we open code by checking if the key type matches the inode item type.
Make this consistent and use the boolean everywhere. Also rename it from
'inode_item' to 'is_inode_item', which makes it more clear that it's a
boolean and not an instance of struct btrfs_inode_item, and make it const
too.
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts/extract-fwblobs')
0 files changed, 0 insertions, 0 deletions
