From: Josef Bacik Date: Wed, 26 Oct 2022 19:08:22 +0000 (-0400) Subject: btrfs: rename tree-defrag.c to defrag.c X-Git-Tag: v6.2-rc1~143^2~145 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=778dd695dd4d5a21eff07bb1570b570da69dfbd9;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Josef Bacik Reviewed-by: David Sterba Signed-off-by: David Sterba --- diff --git a/fs/btrfs/Makefile b/fs/btrfs/Makefile index bb170c9d030db..84fb3b4c35b07 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 similarity index 100% rename from fs/btrfs/tree-defrag.c rename to fs/btrfs/defrag.c