From 818fe33aed42ddd5052171328a3f708e98357e10 Mon Sep 17 00:00:00 2001 From: Josef Bacik Date: Wed, 19 Oct 2022 10:50:58 -0400 Subject: [PATCH] btrfs: rename struct-funcs.c to accessors.c Rename struct-funcs.c to accessors.c so we can move the item accessors out of ctree.h. accessors.c is a better description of the code that is contained in these files. Reviewed-by: Johannes Thumshirn Reviewed-by: Anand Jain Signed-off-by: Josef Bacik Reviewed-by: David Sterba Signed-off-by: David Sterba --- fs/btrfs/Makefile | 2 +- fs/btrfs/{struct-funcs.c => accessors.c} | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) rename fs/btrfs/{struct-funcs.c => accessors.c} (99%) diff --git a/fs/btrfs/Makefile b/fs/btrfs/Makefile index eebb45c064852..76f90dcfb14d6 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 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/accessors.c similarity index 99% rename from fs/btrfs/struct-funcs.c rename to fs/btrfs/accessors.c index 6ba16c018d7f2..118bfd1c0e3e2 100644 --- a/fs/btrfs/struct-funcs.c +++ b/fs/btrfs/accessors.c @@ -4,7 +4,6 @@ */ #include - #include "messages.h" #include "ctree.h" -- 2.30.2