diff options
author | Josef Bacik <josef@toxicpanda.com> | 2021-10-21 21:58:37 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-01-03 17:09:43 +0300 |
commit | dc2e724e0fc070b63fad892389e047909a1de07b (patch) | |
tree | 8168943e7401320ad322ca4188483459038170a5 /drivers/spi/spi-ingenic.c | |
parent | 5a08663d01c544bc1d0e552d060ccdda20e9103f (diff) | |
download | linux-dc2e724e0fc070b63fad892389e047909a1de07b.tar.xz |
btrfs: rename btrfs_item_end_nr to btrfs_item_data_end
The name btrfs_item_end_nr() is a bit of a misnomer, as it's actually
the offset of the end of the data the item points to. In fact all of
the helpers that we use btrfs_item_end_nr() use data in their name, like
BTRFS_LEAF_DATA_SIZE() and leaf_data(). Rename to btrfs_item_data_end()
to make it clear what this helper is giving us.
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'drivers/spi/spi-ingenic.c')
0 files changed, 0 insertions, 0 deletions