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>
This commit is contained in:
Christian Hesse
2007-12-11 09:25:06 -05:00
committed by Chris Mason
parent 9691975dd6
commit 17636e03f4
3 changed files with 3 additions and 3 deletions

View File

@@ -666,7 +666,7 @@ void __init btrfs_init_transaction_sys(void)
trans_wq = create_workqueue("btrfs");
}
void __exit btrfs_exit_transaction_sys(void)
void btrfs_exit_transaction_sys(void)
{
destroy_workqueue(trans_wq);
}