aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/direct-io.c
diff options
context:
space:
mode:
authorFilipe Manana <[email protected]>2025-04-08 15:41:15 +0000
committerDavid Sterba <[email protected]>2025-05-15 12:30:45 +0000
commit962162ffa64f311a8c0cfbf1acfe7a8da126d4b0 (patch)
treedaf906d48ac245251845bbf5cf0377bc10225a6e /fs/btrfs/direct-io.c
parentbtrfs: tracepoints: remove no longer used tracepoints for eb locking (diff)
downloadkernel-962162ffa64f311a8c0cfbf1acfe7a8da126d4b0.tar.gz
kernel-962162ffa64f311a8c0cfbf1acfe7a8da126d4b0.zip
btrfs: rename exported extent map compression functions
These functions are exported and don't have a 'btrfs_' prefix in their names, which goes against coding style conventions. Rename them to have such prefix, making it clear they are from btrfs and avoiding potential collisions in the future with functions defined elsewhere outside btrfs. Signed-off-by: Filipe Manana <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/direct-io.c')
-rw-r--r--fs/btrfs/direct-io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/direct-io.c b/fs/btrfs/direct-io.c
index ddfa867ff1e5..045497c8118a 100644
--- a/fs/btrfs/direct-io.c
+++ b/fs/btrfs/direct-io.c
@@ -474,7 +474,7 @@ static int btrfs_dio_iomap_begin(struct inode *inode, loff_t start,
* to buffered IO. Don't blame me, this is the price we pay for using
* the generic code.
*/
- if (extent_map_is_compressed(em) || em->disk_bytenr == EXTENT_MAP_INLINE) {
+ if (btrfs_extent_map_is_compressed(em) || em->disk_bytenr == EXTENT_MAP_INLINE) {
free_extent_map(em);
/*
* If we are in a NOWAIT context, return -EAGAIN in order to