summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/xarray.py
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2025-08-29 16:46:15 +0100
committerDavid Sterba <dsterba@suse.com>2025-09-23 08:49:19 +0200
commit2a13cfc949e591702f1288d62c691099c67e04ca (patch)
treeea6c96f26f3bac99b30c7b2d04fe507753002c88 /scripts/gdb/linux/xarray.py
parent6cb7f0b8c9b0d6a35682335fea88bd26f089306f (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/gdb/linux/xarray.py')
0 files changed, 0 insertions, 0 deletions