From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH 2/2] vfs: move ACL cache lookup into generic code Date: Fri, 22 Jul 2011 19:50:22 +0200 Message-ID: <20110722175022.GC26076@lst.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Al Viro , Christoph Hellwig , linux-fsdevel To: Linus Torvalds Return-path: Received: from verein.lst.de ([213.95.11.211]:47508 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753830Ab1GVRuX (ORCPT ); Fri, 22 Jul 2011 13:50:23 -0400 Content-Disposition: inline In-Reply-To: Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Fri, Jul 22, 2011 at 10:45:04AM -0700, Linus Torvalds wrote: > > From: Linus Torvalds > Date: Fri, 22 Jul 2011 10:04:21 -0700 > Subject: [PATCH 2/2] vfs: move ACL cache lookup into generic code > > .. and streamline 'check_acl()' semantics for lowlevel file systems. > > This removes the 'check_acl' argument from 'generic_permission()', and > just makes the rule be that it should be in inode->i_op, whether you > have your own filesystem-specific ->permission callback or not. Al has alread done that in his for-next tree, see: http://git.kernel.org/?p=linux/kernel/git/viro/vfs-2.6.git;a=commitdiff;h=178ea73521d64ba41d7aa5488fb9f549c6d4507d