xfs-masters
[Top] [All Lists]

[xfs-masters] [patch 02/11] fix XFS_QUOTA for modular XFS

To: linux-kernel@xxxxxxxxxxxxxxx, stable@xxxxxxxxxx, linux-xfs@xxxxxxxxxxx, xfs-masters@xxxxxxxxxxx, Dimitri Puzin <tristan-777@xxxxxxxxxxxxxxx>, nathans@xxxxxxx
Subject: [xfs-masters] [patch 02/11] fix XFS_QUOTA for modular XFS
From: Greg KH <gregkh@xxxxxxx>
Date: Wed, 9 Nov 2005 10:36:35 -0800
Cc: Justin Forbes <jmforbes@xxxxxxxxxxx>, Zwane Mwaikambo <zwane@xxxxxxxxxxxxxxxx>, "Theodore Ts'o" <tytso@xxxxxxx>, Randy Dunlap <rdunlap@xxxxxxxxxxxx>, Chuck Wolber <chuckw@xxxxxxxxxxxxxxxx>, torvalds@xxxxxxxx, akpm@xxxxxxxx, alan@xxxxxxxxxxxxxxxxxxx, bunk@xxxxxxxxx
In-reply-to: <20051109183614.GA3670@xxxxxxxxx>
References: <20051109182205.294803000@xxxxxxxxxxxxxxx>
Reply-to: xfs-masters@xxxxxxxxxxx
Sender: xfs-masters-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.11
From: Dimitri Puzin <tristan-777@xxxxxxxxxxxxxxx>

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@xxxxxxxxx>
Signed-off-by: Nathan Scott <nathans@xxxxxxx>
Signed-off-by: Chris Wright <chrisw@xxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx>
---
 fs/xfs/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.14.1.orig/fs/xfs/Kconfig
+++ linux-2.6.14.1/fs/xfs/Kconfig
@@ -24,7 +24,7 @@ config XFS_EXPORT
        default y
 
 config XFS_QUOTA
-       tristate "XFS Quota support"
+       bool "XFS Quota support"
        depends on XFS_FS
        help
          If you say Y here, you will be able to set limits for disk usage on

--


<Prev in Thread] Current Thread [Next in Thread>
  • [xfs-masters] [patch 02/11] fix XFS_QUOTA for modular XFS, Greg KH <=