Return-Path: Received: from mail-la0-f42.google.com ([209.85.215.42]:35758 "EHLO mail-la0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753950AbbI1XmG (ORCPT ); Mon, 28 Sep 2015 19:42:06 -0400 Received: by laer8 with SMTP id r8so48904622lae.2 for ; Mon, 28 Sep 2015 16:42:03 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20150928152806.GC1358@fieldses.org> References: <1443391772-10171-1-git-send-email-agruenba@redhat.com> <1443391772-10171-10-git-send-email-agruenba@redhat.com> <20150928152806.GC1358@fieldses.org> Date: Tue, 29 Sep 2015 01:42:03 +0200 Message-ID: Subject: Re: [PATCH v8 09/41] richacl: Update the file masks in chmod() From: Andreas Gruenbacher To: "J. Bruce Fields" Cc: Alexander Viro , "Theodore Ts'o" , Andreas Dilger , Jeff Layton , Trond Myklebust , Anna Schumaker , linux-ext4@vger.kernel.org, LKML , linux-fsdevel , linux-nfs@vger.kernel.org, linux-api@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Sender: linux-nfs-owner@vger.kernel.org List-ID: 2015-09-28 17:28 GMT+02:00 J. Bruce Fields : > On Mon, Sep 28, 2015 at 12:09:00AM +0200, Andreas Gruenbacher wrote: >> + (acl->a_flags & (RICHACL_WRITE_THROUGH | RICHACL_MASKED))) > > I think you meant to require both of those bits to be set. Yes, indeed. Thanks, Andreas