diff options
author | Josef Bacik <josef@toxicpanda.com> | 2022-10-26 22:08:22 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-12-05 20:00:45 +0300 |
commit | 778dd695dd4d5a21eff07bb1570b570da69dfbd9 (patch) | |
tree | b3bc1934565613c1c3d02e8bd39642e1e5661d87 /fs/btrfs | |
parent | 2885fd632050ef47317a97a3a68bc98634a6e11e (diff) | |
download | linux-778dd695dd4d5a21eff07bb1570b570da69dfbd9.tar.xz |
btrfs: rename tree-defrag.c to defrag.c
This currently has only one helper in it, and it's for tree based
defrag. We have the various defrag code in 3 different places, so
rename this to defrag.c. Followup patches will move the code into this
new file.
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs')
-rw-r--r-- | fs/btrfs/Makefile | 2 | ||||
-rw-r--r-- | fs/btrfs/defrag.c (renamed from fs/btrfs/tree-defrag.c) | 0 |
2 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/Makefile b/fs/btrfs/Makefile index bb170c9d030d..84fb3b4c35b0 100644 --- a/fs/btrfs/Makefile +++ b/fs/btrfs/Makefile @@ -23,7 +23,7 @@ obj-$(CONFIG_BTRFS_FS) := btrfs.o btrfs-y += super.o ctree.o extent-tree.o print-tree.o root-tree.o dir-item.o \ file-item.o inode-item.o disk-io.o \ - transaction.o inode.o file.o tree-defrag.o \ + transaction.o inode.o file.o defrag.o \ extent_map.o sysfs.o accessors.o xattr.o ordered-data.o \ extent_io.o volumes.o async-thread.o ioctl.o locking.o orphan.o \ export.o tree-log.o free-space-cache.o zlib.o lzo.o zstd.o \ diff --git a/fs/btrfs/tree-defrag.c b/fs/btrfs/defrag.c index 5df604846de6..5df604846de6 100644 --- a/fs/btrfs/tree-defrag.c +++ b/fs/btrfs/defrag.c |