]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
btrfs: rename struct-funcs.c to accessors.c
authorJosef Bacik <josef@toxicpanda.com>
Wed, 19 Oct 2022 14:50:58 +0000 (10:50 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 5 Dec 2022 17:00:42 +0000 (18:00 +0100)
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 <johannes.thumshirn@wdc.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/Makefile
fs/btrfs/accessors.c [moved from fs/btrfs/struct-funcs.c with 99% similarity]

index eebb45c0648526b6809573f8f81095c17f481742..76f90dcfb14d67e1ef658cda40b90490fdec08b6 100644 (file)
@@ -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 \
similarity index 99%
rename from fs/btrfs/struct-funcs.c
rename to fs/btrfs/accessors.c
index 6ba16c018d7f21ab8e362e5baa79aec5cc4c0b18..118bfd1c0e3e2cc1db0b2e01424f8e12d83ecbe4 100644 (file)
@@ -4,7 +4,6 @@
  */
 
 #include <asm/unaligned.h>
-
 #include "messages.h"
 #include "ctree.h"