diff options
author | Filipe Manana <fdmanana@suse.com> | 2025-04-08 17:13:12 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2025-05-15 14:30:45 +0200 |
commit | ae98ae2a50d72b01d0a61cb21e1ac75bfcebc5f3 (patch) | |
tree | 2f573f88f0532a2888891d6ada504afc14177a8f /fs/btrfs/tree-log.c | |
parent | 2e871330cea44f7459726b0d83252949ae76166f (diff) |
btrfs: rename functions to allocate and free extent maps
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 <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/tree-log.c')
-rw-r--r-- | fs/btrfs/tree-log.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/tree-log.c b/fs/btrfs/tree-log.c index 88ef4b9c2c1f6..3d20473a4bc3c 100644 --- a/fs/btrfs/tree-log.c +++ b/fs/btrfs/tree-log.c @@ -4957,7 +4957,7 @@ process: */ if (ret) { clear_em_logging(inode, em); - free_extent_map(em); + btrfs_free_extent_map(em); continue; } @@ -4966,7 +4966,7 @@ process: ret = log_one_extent(trans, inode, em, path, ctx); write_lock(&tree->lock); clear_em_logging(inode, em); - free_extent_map(em); + btrfs_free_extent_map(em); } WARN_ON(!list_empty(&extents)); write_unlock(&tree->lock); |