From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762882AbXGJC25 (ORCPT ); Mon, 9 Jul 2007 22:28:57 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1762680AbXGJC1y (ORCPT ); Mon, 9 Jul 2007 22:27:54 -0400 Received: from mx1.suse.de ([195.135.220.2]:38249 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1762490AbXGJC1x (ORCPT ); Mon, 9 Jul 2007 22:27:53 -0400 From: NeilBrown To: Andrew Morton Date: Tue, 10 Jul 2007 12:27:49 +1000 Message-Id: <1070710022749.13539@suse.de> X-face: [Gw_3E*Gng}4rRrKRYotwlE?.2|**#s9D Cc: J "." Bruce Fields Cc: Neil Brown Subject: [PATCH 015 of 20] knfsd: nfsd4: make readonly access depend on pseudoflavor References: <20070710121949.12548.patches@notabene> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org From: J. Bruce Fields Allow readonly access to vary depending on the pseudoflavor, using the flag passed with each pseudoflavor in the export downcall. Signed-off-by: "J. Bruce Fields" Signed-off-by: Neil Brown ### Diffstat output ./include/linux/nfsd/export.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff .prev/include/linux/nfsd/export.h ./include/linux/nfsd/export.h --- .prev/include/linux/nfsd/export.h 2007-07-10 11:40:31.000000000 +1000 +++ ./include/linux/nfsd/export.h 2007-07-10 11:50:43.000000000 +1000 @@ -43,7 +43,7 @@ #define NFSEXP_ALLFLAGS 0xFE3F /* The flags that may vary depending on security flavor: */ -#define NFSEXP_SECINFO_FLAGS 0 +#define NFSEXP_SECINFO_FLAGS NFSEXP_READONLY #ifdef __KERNEL__