aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorOmar Sandoval <[email protected]>2021-11-16 14:03:45 -0800
committerDavid Sterba <[email protected]>2022-03-14 13:13:51 +0100
commit8dd9872d2e261196069ab03d5dc5e6ec9bc93f4b (patch)
treec41da932bd1a949deb1aa9aa7c5a69447dc1adc9 /lib/test-string_helpers.c
parent28c9b1e75aa1794897a9cb709f20f27f4aadebac (diff)
btrfs: clean up cow_file_range_inline()
The start parameter to cow_file_range_inline() (and insert_inline_extent()) is always 0, so get rid of it and simplify the logic in those two functions. Pass btrfs_inode to insert_inline_extent() and remove the redundant root parameter. Also document the requirements for creating an inline extent. No functional change. Signed-off-by: Omar Sandoval <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions