WSL2-Linux-Kernel/fs/btrfs
Christian Hesse 17636e03f4 Btrfs: section mismatch warnings
--Boundary-00=_CcOWHFYK4T+JwSj
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hello everybody,

compiling btrfs into the kernel results in section mismatch warnings. __exit
functions are called where they are not allowed to. The attached patch fixes
this for me. Not sure if it is correct though.

Signed-off-by: Christian Hesse <mail@earthworm.de>
--
Regards,
Chris

--Boundary-00=_CcOWHFYK4T+JwSj
Content-Type: text/x-diff; charset="iso-8859-1";
	name="btrfs-section_mismatches.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="btrfs-section_mismatches.patch"

Signed-off-by: Chris Mason <chris.mason@oracle.com>
2008-09-25 11:03:58 -04:00
..
COPYING Btrfs: add GPLv2 2007-06-12 09:07:21 -04:00
INSTALL Btrfs: Documentation update 2007-06-22 14:49:31 -04:00
Makefile xattr support for btrfs 2008-09-25 11:03:57 -04:00
TODO Btrfs: add GPLv2 2007-06-12 09:07:21 -04:00
acl.c Btrfs: Make ACLs return EOPNOTSUPP for now 2008-09-25 11:03:57 -04:00
bit-radix.c Btrfs: trivial include fixups 2007-07-11 10:00:37 -04:00
bit-radix.h Btrfs: add GPLv2 2007-06-12 09:07:21 -04:00
btrfs_inode.h Btrfs: Extent based page cache code. This uses an rbtree of extents and tests 2007-08-27 16:49:44 -04:00
ctree.c Btrfs: Properly update right_nritems in push_leaf_left 2008-09-25 11:03:58 -04:00
ctree.h Btrfs: Add simple stripe size parameter 2008-09-25 11:03:58 -04:00
dir-item.c xattr support for btrfs 2008-09-25 11:03:57 -04:00
disk-io.c Btrfs: Add simple stripe size parameter 2008-09-25 11:03:58 -04:00
disk-io.h Btrfs: Add back file data checksumming 2008-09-25 11:03:57 -04:00
extent-tree.c Btrfs: Fix extent allocation for btree blocks as the disk fills 2008-09-25 11:03:58 -04:00
extent_map.c Btrfs: section mismatch warnings 2008-09-25 11:03:58 -04:00
extent_map.h Btrfs: section mismatch warnings 2008-09-25 11:03:58 -04:00
file-item.c Btrfs: Fix a number of inline extent problems that Yan Zheng reported. 2008-09-25 11:03:57 -04:00
file.c btrfs_drop_extents: make sure the item is getting smaller before truncate 2008-09-25 11:03:58 -04:00
hash.c Btrfs: add GPLv2 2007-06-12 09:07:21 -04:00
hash.h Btrfs: add GPLv2 2007-06-12 09:07:21 -04:00
inode-item.c Btrfs: Create extent_buffer interface for large blocksizes 2008-09-25 11:03:56 -04:00
inode-map.c Btrfs: Create extent_buffer interface for large blocksizes 2008-09-25 11:03:56 -04:00
inode.c Btrfs: Fix buffer get/release issue in create_snapshot 2008-09-25 11:03:58 -04:00
ioctl.h Btrfs: Add run time btree defrag, and an ioctl to force btree defrag 2007-08-07 16:15:09 -04:00
print-tree.c xattr support for btrfs 2008-09-25 11:03:57 -04:00
print-tree.h Btrfs: Create extent_buffer interface for large blocksizes 2008-09-25 11:03:56 -04:00
root-tree.c Btrfs: Create extent_buffer interface for large blocksizes 2008-09-25 11:03:56 -04:00
struct-funcs.c Fix recursive KM_USER1 usage in btrfs_realloc_node 2008-09-25 11:03:57 -04:00
super.c Btrfs: Return value checking in module init 2008-09-25 11:03:58 -04:00
sysfs.c Btrfs: sysfs compile fixup 2008-09-25 11:03:57 -04:00
transaction.c Btrfs: section mismatch warnings 2008-09-25 11:03:58 -04:00
transaction.h Btrfs: Create extent_buffer interface for large blocksizes 2008-09-25 11:03:56 -04:00
tree-defrag.c Btrfs: Optimize allocations as we need to mix data and metadata into one group 2008-09-25 11:03:57 -04:00
xattr.c Btrfs: xattr fixes 2008-09-25 11:03:57 -04:00
xattr.h xattr support for btrfs 2008-09-25 11:03:57 -04:00