From: Al Boldi Subject: [PATCH] NFS Kconfig: Make ROOT_NFS visibly part of NFS_FS group Date: Tue, 31 Jul 2007 23:43:02 +0300 Message-ID: <200707312343.02920.a1426z@gawab.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Trond Myklebust To: linux-fsdevel@vger.kernel.org Return-path: Received: from [212.12.190.9] ([212.12.190.9]:34087 "EHLO raad.intranet" rhost-flags-FAIL-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1754221AbXGaUmw (ORCPT ); Tue, 31 Jul 2007 16:42:52 -0400 Content-Disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Relocate ROOT_NFS from below NFSD to be visibly part of NFS_FS group. This makes the ROOT_NFS Kconfig option logically coherent. Signed-off-by: Al Boldi Cc: Trond Myklebust --- --- a/fs/Kconfig 2007-07-09 06:38:41.000000000 +0300 +++ b/fs/Kconfig 2007-07-31 23:15:34.000000000 +0300 @@ -1617,6 +1617,20 @@ config NFS_DIRECTIO causes open() to return EINVAL if a file residing in NFS is opened with the O_DIRECT flag. +config ROOT_NFS + bool "Root file system on NFS" + depends on NFS_FS=y && IP_PNP + help + If you want your Linux box to mount its whole root file system (the + one containing the directory /) from some other computer over the + net via NFS (presumably because your box doesn't have a hard disk), + say Y. Read for details. It is + likely that in this case, you also want to say Y to "Kernel level IP + autoconfiguration" so that your box can discover its network address + at boot time. + + Most people say N here. + config NFSD tristate "NFS server support" depends on INET @@ -1690,20 +1704,6 @@ config NFSD_TCP TCP connections usually perform better than the default UDP when the network is lossy or congested. If unsure, say Y. -config ROOT_NFS - bool "Root file system on NFS" - depends on NFS_FS=y && IP_PNP - help - If you want your Linux box to mount its whole root file system (the - one containing the directory /) from some other computer over the - net via NFS (presumably because your box doesn't have a hard disk), - say Y. Read for details. It is - likely that in this case, you also want to say Y to "Kernel level IP - autoconfiguration" so that your box can discover its network address - at boot time. - - Most people say N here. - config LOCKD tristate