Re: What happened to XFS Quota Support?

From: Nathan Scott
Date: Fri Oct 28 2005 - 17:46:51 EST


On Fri, Oct 28, 2005 at 06:15:22PM -0400, AndyLiebman@xxxxxxx wrote:
> could you be a little clearer on this. What do you mean by "there's a patch
> already floating around". If I knew where to get the patch, I would have
> installed it already rather than wasting half a day compiling various flavors of
> the new kernel (no preemption, voluntary preemption, high preemption).
>

Oh, sorry - I was refering to this...

cheers.

--
Nathan

----- Forwarded message from Adrian Bunk <bunk@xxxxxxxxx> -----

Date: Fri, 28 Oct 2005 22:33:25 +0200
To: Andrew Morton <akpm@xxxxxxxx>, stable@xxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx, xfs-masters@xxxxxxxxxxx, nathans@xxxxxxx,
linux-xfs@xxxxxxxxxxx, Dimitri Puzin <tristan-777@xxxxxxxxxxxxxxx>
User-Agent: Mutt/1.5.11
From: Adrian Bunk <bunk@xxxxxxxxx>
Subject: [2.6 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.


From: Dimitri Puzin <tristan-777@xxxxxxxxxxxxxxx>
Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.14-rc5-mm1/fs/xfs/Kconfig.old 2005-10-28 19:51:02.000000000 +0200
+++ linux-2.6.14-rc5-mm1/fs/xfs/Kconfig 2005-10-28 19:51:12.000000000 +0200
@@ -24,7 +24,7 @@
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


----- End forwarded message -----
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/