]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[PATCH] fix XFS_QUOTA for modular XFS
authorDimitri Puzin <tristan-777@ddkom-online.de>
Wed, 9 Nov 2005 18:22:07 +0000 (10:22 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Nov 2005 05:18:54 +0000 (21:18 -0800)
commitee5b36ffa0f2e6ff56ab118fd7d62a740d4d8b93
treee518b2a085f29fed14ccccbec291ac03e94cb7fe
parente0be26d5c0a5f9eaf3fe55dac456be3d8356bb67
[PATCH] fix XFS_QUOTA for modular XFS

This patch by Dimitri Puzin submitted through kernel Bugzilla #5514
fixes the following issue:

Cannot build XFS filesystem support as module with quota support. It
works only when the XFS filesystem support is compiled into the kernel.
Menuconfig prevents from setting CONFIG_XFS_FS=m and CONFIG_XFS_QUOTA=y.

How to reproduce: configure the XFS filesystem with quota support as
module. The resulting kernel won't have quota support compiled into
xfs.ko.

Fix: Changing the fs/xfs/Kconfig file from tristate to bool lets you
configure the quota support to be compiled into the XFS module. The
Makefile-linux-2.6 checks only for CONFIG_XFS_QUOTA=y.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Nathan Scott <nathans@sgi.com>
Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/xfs/Kconfig