diff options
| author | Josef Bacik <[email protected]> | 2021-10-21 18:58:34 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2022-01-03 14:09:43 +0000 |
| commit | 747942073608167af3cdbaace2556b13c0cff9f0 (patch) | |
| tree | b15ae897fbd05cbcb229e9d6b1b701c68ed94522 /fs/btrfs/tests/extent-buffer-tests.c | |
| parent | btrfs: make btrfs_file_extent_inline_item_len take a slot (diff) | |
| download | kernel-747942073608167af3cdbaace2556b13c0cff9f0.tar.gz kernel-747942073608167af3cdbaace2556b13c0cff9f0.zip | |
btrfs: introduce item_nr token variant helpers
The last remaining place where we have the pattern of
item = btrfs_item_nr(slot)
<do something with the item>
are the token helpers. Handle this by introducing token helpers that
will do the btrfs_item_nr() work inside of the helper itself, and then
convert all users of the btrfs_item token helpers to the new _nr()
variants.
Signed-off-by: Josef Bacik <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/tests/extent-buffer-tests.c')
0 files changed, 0 insertions, 0 deletions
