From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932561Ab1IHJcc (ORCPT ); Thu, 8 Sep 2011 05:32:32 -0400 Received: from e31.co.us.ibm.com ([32.97.110.149]:38760 "EHLO e31.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932537Ab1IHJcb (ORCPT ); Thu, 8 Sep 2011 05:32:31 -0400 From: "Aneesh Kumar K.V" To: "J. Bruce Fields" Cc: agruen@kernel.org, akpm@linux-foundation.org, dhowells@redhat.com, linux-fsdevel@vger.kernel.org, linux-nfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH -V6 10/26] vfs: Make the inode passed to inode_change_ok non-const In-Reply-To: <20110907204321.GF8074@fieldses.org> References: <1315243548-18664-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com> <1315243548-18664-11-git-send-email-aneesh.kumar@linux.vnet.ibm.com> <20110907204321.GF8074@fieldses.org> User-Agent: Notmuch/0.5-318-g52e4ded (http://notmuchmail.org) Emacs/23.2.1 (x86_64-pc-linux-gnu) Date: Thu, 08 Sep 2011 15:02:15 +0530 Message-ID: <87fwk75qhs.fsf@skywalker.in.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii x-cbid: 11090809-7282-0000-0000-000001417977 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 7 Sep 2011 16:43:22 -0400, "J. Bruce Fields" wrote: > On Mon, Sep 05, 2011 at 10:55:32PM +0530, Aneesh Kumar K.V wrote: > > From: Andreas Gruenbacher > > > > We will need to call iop->permission and iop->get_acl from > > inode_change_ok() for additional permission checks, and both take a > > non-const inode. > > OK, the essential difference being that richacls have a say in whether > we can change attributes or not, which posix acls (for example) don't? > yes, next patch explain the details of the check -aneesh