Commit ffc53165 authored by David Sterba's avatar David Sterba

btrfs: rename __btrfs_run_defrag_inode() and drop double underscores

The function does not follow the pattern where the underscores would be
justified, so rename it.
Reviewed-by: default avatarQu Wenruo <wqu@suse.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 42257569
...@@ -231,7 +231,7 @@ void btrfs_cleanup_defrag_inodes(struct btrfs_fs_info *fs_info) ...@@ -231,7 +231,7 @@ void btrfs_cleanup_defrag_inodes(struct btrfs_fs_info *fs_info)
#define BTRFS_DEFRAG_BATCH 1024 #define BTRFS_DEFRAG_BATCH 1024
static int __btrfs_run_defrag_inode(struct btrfs_fs_info *fs_info, static int btrfs_run_defrag_inode(struct btrfs_fs_info *fs_info,
struct inode_defrag *defrag) struct inode_defrag *defrag)
{ {
struct btrfs_root *inode_root; struct btrfs_root *inode_root;
...@@ -322,7 +322,7 @@ int btrfs_run_defrag_inodes(struct btrfs_fs_info *fs_info) ...@@ -322,7 +322,7 @@ int btrfs_run_defrag_inodes(struct btrfs_fs_info *fs_info)
first_ino = defrag->ino + 1; first_ino = defrag->ino + 1;
root_objectid = defrag->root; root_objectid = defrag->root;
__btrfs_run_defrag_inode(fs_info, defrag); btrfs_run_defrag_inode(fs_info, defrag);
} }
atomic_dec(&fs_info->defrag_running); atomic_dec(&fs_info->defrag_running);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment