diff options
| author | Filipe Manana <[email protected]> | 2025-04-08 15:41:15 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2025-05-15 12:30:45 +0000 |
| commit | 962162ffa64f311a8c0cfbf1acfe7a8da126d4b0 (patch) | |
| tree | daf906d48ac245251845bbf5cf0377bc10225a6e /fs/btrfs/extent_io.c | |
| parent | btrfs: tracepoints: remove no longer used tracepoints for eb locking (diff) | |
| download | kernel-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/extent_io.c')
| -rw-r--r-- | fs/btrfs/extent_io.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index 95904a7beaa0..eca4c6b68e5c 100644 --- a/fs/btrfs/extent_io.c +++ b/fs/btrfs/extent_io.c @@ -972,7 +972,7 @@ static int btrfs_do_readpage(struct folio *folio, struct extent_map **em_cached, BUG_ON(extent_map_end(em) <= cur); BUG_ON(end < cur); - compress_type = extent_map_compression(em); + compress_type = btrfs_extent_map_compression(em); if (compress_type != BTRFS_COMPRESS_NONE) disk_bytenr = em->disk_bytenr; @@ -1547,7 +1547,7 @@ static int submit_one_sector(struct btrfs_inode *inode, block_start = extent_map_block_start(em); disk_bytenr = extent_map_block_start(em) + extent_offset; - ASSERT(!extent_map_is_compressed(em)); + ASSERT(!btrfs_extent_map_is_compressed(em)); ASSERT(block_start != EXTENT_MAP_HOLE); ASSERT(block_start != EXTENT_MAP_INLINE); |
