]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
Add XFS_QUOTA fix for modular XFS build, fwd from Adrian Bunk.
authorChris Wright <chrisw@osdl.org>
Mon, 31 Oct 2005 20:38:48 +0000 (12:38 -0800)
committerChris Wright <chrisw@osdl.org>
Mon, 31 Oct 2005 20:38:48 +0000 (12:38 -0800)
queue/series
queue/xfs-modular-quota-build-fix.patch [new file with mode: 0644]

index 58b7404c699000f15edd118ce9b2eea096a6e924..a2716414560183e85844d963006cd12b33420ed8 100644 (file)
@@ -1 +1,2 @@
 prism54_frame_size.patch
+xfs-modular-quota-build-fix.patch
diff --git a/queue/xfs-modular-quota-build-fix.patch b/queue/xfs-modular-quota-build-fix.patch
new file mode 100644 (file)
index 0000000..ebf4f14
--- /dev/null
@@ -0,0 +1,47 @@
+From stable-bounces@linux.kernel.org  Fri Oct 28 13:33:36 2005
+Date: Fri, 28 Oct 2005 22:33:25 +0200
+From: Adrian Bunk <bunk@stusta.de>
+To: Andrew Morton <akpm@osdl.org>, stable@kernel.org
+Cc: linux-xfs@oss.sgi.com, xfs-masters@oss.sgi.com,
+       Dimitri Puzin <tristan-777@ddkom-online.de>, nathans@sgi.com,
+       linux-kernel@vger.kernel.org
+Subject: [PATCH] fix XFS_QUOTA for modular XFS
+
+From: Dimitri Puzin <tristan-777@ddkom-online.de>
+
+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>
+---
+
+ fs/xfs/Kconfig |    2 +-
+ 1 files changed, 1 insertion(+), 1 deletion(-)
+
+Index: linux-2.6.14.y/fs/xfs/Kconfig
+===================================================================
+--- linux-2.6.14.y.orig/fs/xfs/Kconfig
++++ linux-2.6.14.y/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