Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031334AbbKDWKt (ORCPT ); Wed, 4 Nov 2015 17:10:49 -0500 Received: from mail-lb0-f175.google.com ([209.85.217.175]:36498 "EHLO mail-lb0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031314AbbKDWKp (ORCPT ); Wed, 4 Nov 2015 17:10:45 -0500 MIME-Version: 1.0 In-Reply-To: <713E53A4-D073-4745-B57D-77AD07E89957@dilger.ca> References: <1446563847-14005-1-git-send-email-agruenba@redhat.com> <1446563847-14005-13-git-send-email-agruenba@redhat.com> <713E53A4-D073-4745-B57D-77AD07E89957@dilger.ca> Date: Wed, 4 Nov 2015 23:10:43 +0100 Message-ID: Subject: Re: [PATCH v13 12/51] vfs: Cache richacl in struct inode From: Andreas Gruenbacher To: Andreas Dilger Cc: Alexander Viro , "Theodore Ts'o" , "J. Bruce Fields" , Jeff Layton , Trond Myklebust , Anna Schumaker , Dave Chinner , linux-ext4 , XFS Developers , LKML , linux-fsdevel , Linux NFS Mailing List , linux-cifs@vger.kernel.org, Linux API Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1001 Lines: 30 Andreas, On Wed, Nov 4, 2015 at 3:03 AM, Andreas Dilger wrote: >> @@ -33,7 +33,7 @@ richacl_alloc(int count, gfp_t gfp) >> struct richacl *acl = kzalloc(size, gfp); >> >> if (acl) { >> - atomic_set(&acl->a_refcount, 1); >> + atomic_set(&acl->a_base.ba_refcount, 1); >> acl->a_count = count; >> } >> return acl; >> @@ -52,7 +52,7 @@ richacl_clone(const struct richacl *acl, gfp_t gfp) >> >> if (dup) { >> memcpy(dup, acl, size); >> - atomic_set(&dup->a_refcount, 1); >> + atomic_set(&dup->a_base.ba_refcount, 1); > > These two calls should be base_acl_init(). Yes. This should all be fixed in the next snapshot. Thanks, Andreas -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/