From patchwork Sun May 22 11:55:24 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Layton X-Patchwork-Id: 806532 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 p4MBtVcn000946 for ; Sun, 22 May 2011 11:55:32 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754491Ab1EVLzb (ORCPT ); Sun, 22 May 2011 07:55:31 -0400 Received: from mail-vx0-f174.google.com ([209.85.220.174]:50425 "EHLO mail-vx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753767Ab1EVLzb (ORCPT ); Sun, 22 May 2011 07:55:31 -0400 Received: by vxi39 with SMTP id 39so3531562vxi.19 for ; Sun, 22 May 2011 04:55:29 -0700 (PDT) Received: by 10.52.172.2 with SMTP id ay2mr2007850vdc.50.1306065329697; Sun, 22 May 2011 04:55:29 -0700 (PDT) Received: from salusa.poochiereds.net (cpe-076-182-054-018.nc.res.rr.com [76.182.54.18]) by mx.google.com with ESMTPS id g2sm2618337vbz.12.2011.05.22.04.55.28 (version=SSLv3 cipher=OTHER); Sun, 22 May 2011 04:55:29 -0700 (PDT) From: Jeff Layton To: smfrench@gmail.com Cc: linux-cifs@vger.kernel.org Subject: [PATCH] cifs: mark CONFIG_CIFS_NFSD_EXPORT as BROKEN Date: Sun, 22 May 2011 07:55:24 -0400 Message-Id: <1306065324-24604-1-git-send-email-jlayton@redhat.com> X-Mailer: git-send-email 1.7.4.4 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]); Sun, 22 May 2011 11:55:32 +0000 (UTC) This will never work properly with CIFS, as the protocol has no ability whatsoever for looking up files by filehandle. It *might* be possible to eventually do this with SMB2, but that remains to be seen. For now, it just plain doesn't work. Mark it BROKEN to discourage distros from enabling it. Signed-off-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..f0f960d 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 && EXPERIMENTAL && BROKEN help Allows NFS server to export a CIFS mounted share (nfsd over cifs)