From patchwork Wed Apr 27 14:22:27 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 736371 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p3REMKg1023464 for ; Wed, 27 Apr 2011 14:22:20 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751227Ab1D0OWU (ORCPT ); Wed, 27 Apr 2011 10:22:20 -0400 Received: from opensource.wolfsonmicro.com ([80.75.67.52]:54867 "EHLO opensource2.wolfsonmicro.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751181Ab1D0OWT (ORCPT ); Wed, 27 Apr 2011 10:22:19 -0400 Received: from finisterre.wolfsonmicro.main (unknown [87.246.78.26]) by opensource2.wolfsonmicro.com (Postfix) with ESMTPSA id 6A84211018E; Wed, 27 Apr 2011 15:22:18 +0100 (BST) Received: from broonie by finisterre.wolfsonmicro.main with local (Exim 4.74) (envelope-from ) id 1QF5dM-0005zi-HI; Wed, 27 Apr 2011 15:22:28 +0100 From: Mark Brown To: Steve French Cc: linux-cifs@vger.kernel.org, Mark Brown Subject: [PATCH] cifs: Don't offer NFS export in Kconfig if nfsd is not enabled Date: Wed, 27 Apr 2011 15:22:27 +0100 Message-Id: <1303914147-23012-1-git-send-email-broonie@opensource.wolfsonmicro.com> X-Mailer: git-send-email 1.7.4.1 Sender: linux-cifs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-cifs@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Wed, 27 Apr 2011 14:22:20 +0000 (UTC) There's no point in supporting NFS export of filesystems if we don't have nfsd in the first place. Signed-off-by: Mark Brown Acked-by: Jeff Layton --- fs/cifs/Kconfig | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/cifs/Kconfig b/fs/cifs/Kconfig index 75c47cd..61e5f95 100644 --- a/fs/cifs/Kconfig +++ b/fs/cifs/Kconfig @@ -175,6 +175,6 @@ config CIFS_SMB2 config CIFS_NFSD_EXPORT bool "Allow nfsd to export CIFS file system (EXPERIMENTAL)" - depends on CIFS && EXPERIMENTAL + depends on CIFS && NFSD && EXPERIMENTAL help Allows NFS server to export a CIFS mounted share (nfsd over cifs)