aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/file.c
diff options
context:
space:
mode:
authorDavid Sterba <[email protected]>2025-06-10 12:17:53 +0000
committerDavid Sterba <[email protected]>2025-07-21 21:58:01 +0000
commit89a3cc19e4e4158b3ffd746918227bc409f91e12 (patch)
treebaba834a75d9283c0bc4e907851e3c255a8accef /fs/btrfs/file.c
parentbtrfs: rename variables for locked range in defrag_prepare_one_folio() (diff)
downloadkernel-89a3cc19e4e4158b3ffd746918227bc409f91e12.tar.gz
kernel-89a3cc19e4e4158b3ffd746918227bc409f91e12.zip
btrfs: add helper folio_end()
There are several cases of folio_pos + folio_size, add a convenience helper for that. This is a local helper and not proposed as folio API because it does not seem to be heavily used elsewhere: A quick grep (folio_size + folio_end) in fs/ shows 24 btrfs 4 iomap 4 ext4 2 xfs 2 netfs 1 gfs2 1 f2fs 1 bcachefs 1 buffer.c Reviewed-by: Johannes Thumshirn <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/file.c')
0 files changed, 0 insertions, 0 deletions