From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH] vfs: move ACL cache lookup into generic code Date: Sat, 23 Jul 2011 16:50:37 +0200 Message-ID: <20110723145037.GA10213@lst.de> References: <20110723032944.GA24703@ZenIV.linux.org.uk> <20110723074722.GD24703@ZenIV.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Linus Torvalds , Christoph Hellwig , linux-fsdevel To: Al Viro Return-path: Received: from verein.lst.de ([213.95.11.211]:38177 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752875Ab1GWOui (ORCPT ); Sat, 23 Jul 2011 10:50:38 -0400 Content-Disposition: inline In-Reply-To: <20110723074722.GD24703@ZenIV.linux.org.uk> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Sat, Jul 23, 2011 at 08:47:22AM +0100, Al Viro wrote: > Anyway, that'll have to wait for tomorrow; I'm going down right now. This > stuff (plus Tim's "mount lock scalability for internal mounts" patch) is > in #untested in usual place. Comments/testing/etc. are welcome... Can't be just pass &inode->i_mode to posix_acl_create for those filesystems that simply write directly into i_mode, instead of keeping it in a local variable? Also the posix_acl_create should be after the function body, not a lot before it. Otherwise looks fine, and passes QA on xfs.