Message ID | 3f6da9cb8ecff030e1a3a4c9815d5d8604f1cd19.1663175597.git.josef@toxicpanda.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | btrfs: split out larger chunks of ctree.h | expand |
On 9/15/22 01:18, Josef Bacik wrote: > Rename struct-funcs.c to item-accessors.c so we can move the item > accessors out of ctree.h. item-accessors.c is a better description of > the code that is contained in these files. > > Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: Anand Jain <anand.jain@oracle.com>
diff --git a/fs/btrfs/Makefile b/fs/btrfs/Makefile index eebb45c06485..5a5906e7231d 100644 --- a/fs/btrfs/Makefile +++ b/fs/btrfs/Makefile @@ -24,7 +24,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 \ - extent_map.o sysfs.o struct-funcs.o xattr.o ordered-data.o \ + extent_map.o sysfs.o item-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 \ compression.o delayed-ref.o relocation.o delayed-inode.o scrub.o \ diff --git a/fs/btrfs/struct-funcs.c b/fs/btrfs/item-accessors.c similarity index 100% rename from fs/btrfs/struct-funcs.c rename to fs/btrfs/item-accessors.c
Rename struct-funcs.c to item-accessors.c so we can move the item accessors out of ctree.h. item-accessors.c is a better description of the code that is contained in these files. Signed-off-by: Josef Bacik <josef@toxicpanda.com> --- fs/btrfs/Makefile | 2 +- fs/btrfs/{struct-funcs.c => item-accessors.c} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename fs/btrfs/{struct-funcs.c => item-accessors.c} (100%)