/[linux-patches]/genpatches-2.6/tags/2.6.14-5/1012_2_xfs-modular-quota.patch
Gentoo

Contents of /genpatches-2.6/tags/2.6.14-5/1012_2_xfs-modular-quota.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 226 - (show annotations) (download)
Fri Dec 2 12:14:55 2005 UTC (12 years, 8 months ago) by dsd
File size: 1646 byte(s)
2.6.14-5 release
1 From stable-bounces@linux.kernel.org Fri Oct 28 13:33:36 2005
2 Date: Fri, 28 Oct 2005 22:33:25 +0200
3 From: Adrian Bunk <bunk@stusta.de>
4 To: Andrew Morton <akpm@osdl.org>, stable@kernel.org
5 Cc: linux-xfs@oss.sgi.com, xfs-masters@oss.sgi.com,
6 Dimitri Puzin <tristan-777@ddkom-online.de>, nathans@sgi.com,
7 linux-kernel@vger.kernel.org
8 Subject: [PATCH] fix XFS_QUOTA for modular XFS
9
10 From: Dimitri Puzin <tristan-777@ddkom-online.de>
11
12 This patch by Dimitri Puzin submitted through kernel Bugzilla #5514
13 fixes the following issue:
14
15 Cannot build XFS filesystem support as module with quota support. It
16 works only when the XFS filesystem support is compiled into the kernel.
17 Menuconfig prevents from setting CONFIG_XFS_FS=m and CONFIG_XFS_QUOTA=y.
18
19 How to reproduce: configure the XFS filesystem with quota support as
20 module. The resulting kernel won't have quota support compiled into
21 xfs.ko.
22
23 Fix: Changing the fs/xfs/Kconfig file from tristate to bool lets you
24 configure the quota support to be compiled into the XFS module. The
25 Makefile-linux-2.6 checks only for CONFIG_XFS_QUOTA=y.
26
27 Signed-off-by: Adrian Bunk <bunk@stusta.de>
28 Signed-off-by: Nathan Scott <nathans@sgi.com>
29 Signed-off-by: Chris Wright <chrisw@osdl.org>
30 Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
31 ---
32 fs/xfs/Kconfig | 2 +-
33 1 file changed, 1 insertion(+), 1 deletion(-)
34
35 --- linux-2.6.14.1.orig/fs/xfs/Kconfig
36 +++ linux-2.6.14.1/fs/xfs/Kconfig
37 @@ -24,7 +24,7 @@ config XFS_EXPORT
38 default y
39
40 config XFS_QUOTA
41 - tristate "XFS Quota support"
42 + bool "XFS Quota support"
43 depends on XFS_FS
44 help
45 If you say Y here, you will be able to set limits for disk usage on

  ViewVC Help
Powered by ViewVC 1.1.20