From mboxrd@z Thu Jan 1 00:00:00 1970 From: Al Viro Subject: Re: [patch 00/13] vfs: add helpers to check r/o bind mounts Date: Thu, 24 Apr 2008 16:38:29 +0100 Message-ID: <20080424153828.GL15214@ZenIV.linux.org.uk> References: <20080424124245.GC15214@ZenIV.linux.org.uk> <20080424134826.GD15214@ZenIV.linux.org.uk> <20080424142857.GF15214@ZenIV.linux.org.uk> <20080424144448.GH15214@ZenIV.linux.org.uk> <20080424151235.GJ15214@ZenIV.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: akpm@linux-foundation.org, torvalds@linux-foundation.org, dave@linux.vnet.ibm.com, ezk@cs.sunysb.edu, mhalcrow@us.ibm.com, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org To: Miklos Szeredi Return-path: Received: from zeniv.linux.org.uk ([195.92.253.2]:56641 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752663AbYDXPil (ORCPT ); Thu, 24 Apr 2008 11:38:41 -0400 Content-Disposition: inline In-Reply-To: Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Thu, Apr 24, 2008 at 05:18:12PM +0200, Miklos Szeredi wrote: > > Oh, for fuck sake... grep and ye shall see. Right next to setattr we > > have nfsd4_set_nfs4_acl(), with pair of set_nfsv4_acl_one(). I'd rather > > have those two covered by a single will/wont range, TYVM. > > > > nfsd_create() will happily do vfs_mkdir() and nfsd_create_setattr(). Ditto. > > Please read the patches? I've left exactly these > mnt_want_write/drop_write() calls in place, and removed all the > others. You've left _what_ in place? nfsd4_set_nfs4_acl() currently doesn't have that single range - fh_verify() + set_nvfs4_acl_one() + set_nfsv4_acl_one(). And AFAICS you do nothing of that kind there.