]> err.no Git - linux-2.6/commit
NFSD: Use "depends on" for PROC_FS dependency
authorChuck Lever <chuck.lever@oracle.com>
Thu, 27 Mar 2008 20:34:40 +0000 (16:34 -0400)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Wed, 23 Apr 2008 20:13:41 +0000 (16:13 -0400)
commit6ffd4be6336f9c3f1a10822099587544cd0a11d7
tree19023c6f1f7237b5d99fcae95c49d0eabab89b92
parent03550fac06c4f0c39a1885d46015c28794413c82
NFSD: Use "depends on" for PROC_FS dependency

Recently, commit 440bcc59 added a reverse dependency to fs/Kconfig to
ensure that PROC_FS was enabled if NFSD_V4 was enabled.

There is a guideline in Documentation/kbuild/kconfig-language.txt that
states "In general use select only for non-visible symbols (no prompts
anywhere) and for symbols with no dependencies."

A quick grep around other Kconfig files reveals that no entry currently
uses "select PROC_FS" -- every one uses "depends on".  Thus CONFIG_NFSD_V4
should use "depends on PROC_FS" as well.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/Kconfig