2008-02-11 22:13:31

by Chuck Lever III

[permalink] [raw]
Subject: [PATCH 09/11] NFSD: Move "select NFSD_V2_ACL if NFSD_V3_ACL"

Clean up: since NFSD_V2_ACL is a boolean, it can be selected safely
under the NFSD_V3_ACL entry (also a boolean).

Signed-off-by: Chuck Lever <[email protected]>
---

fs/Kconfig | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fs/Kconfig b/fs/Kconfig
index e94ca09..fcaf61e 100644
--- a/fs/Kconfig
+++ b/fs/Kconfig
@@ -1657,7 +1657,6 @@ config NFSD
select LOCKD
select SUNRPC
select EXPORTFS
- select NFSD_V2_ACL if NFSD_V3_ACL
select NFS_ACL_SUPPORT if NFSD_V2_ACL
select CRYPTO_MD5 if NFSD_V4
select CRYPTO if NFSD_V4
@@ -1699,6 +1698,7 @@ config NFSD_V3
config NFSD_V3_ACL
bool "NFS server support for the NFSv3 ACL protocol extension"
depends on NFSD_V3
+ select NFSD_V2_ACL
help
Solaris NFS servers support an auxiliary NFSv3 ACL protocol that
never became an official part of the NFS version 3 protocol.



2008-02-12 22:34:07

by J. Bruce Fields

[permalink] [raw]
Subject: Re: [PATCH 09/11] NFSD: Move "select NFSD_V2_ACL if NFSD_V3_ACL"

On Mon, Feb 11, 2008 at 05:12:31PM -0500, Chuck Lever wrote:
> Clean up: since NFSD_V2_ACL is a boolean, it can be selected safely
> under the NFSD_V3_ACL entry (also a boolean).
>

Applied.--b.

> Signed-off-by: Chuck Lever <[email protected]>
> ---
>
> fs/Kconfig | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/fs/Kconfig b/fs/Kconfig
> index e94ca09..fcaf61e 100644
> --- a/fs/Kconfig
> +++ b/fs/Kconfig
> @@ -1657,7 +1657,6 @@ config NFSD
> select LOCKD
> select SUNRPC
> select EXPORTFS
> - select NFSD_V2_ACL if NFSD_V3_ACL
> select NFS_ACL_SUPPORT if NFSD_V2_ACL
> select CRYPTO_MD5 if NFSD_V4
> select CRYPTO if NFSD_V4
> @@ -1699,6 +1698,7 @@ config NFSD_V3
> config NFSD_V3_ACL
> bool "NFS server support for the NFSv3 ACL protocol extension"
> depends on NFSD_V3
> + select NFSD_V2_ACL
> help
> Solaris NFS servers support an auxiliary NFSv3 ACL protocol that
> never became an official part of the NFS version 3 protocol.
>