[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHc6FU7+UpYGA991zPLyzG2L5pDgkD93L7BXak-TDJT_E_E2YA@mail.gmail.com>
Date: Wed, 4 Nov 2015 23:10:43 +0100
From: Andreas Gruenbacher <agruenba@...hat.com>
To: Andreas Dilger <adilger@...ger.ca>
Cc: Alexander Viro <viro@...iv.linux.org.uk>,
"Theodore Ts'o" <tytso@....edu>,
"J. Bruce Fields" <bfields@...ldses.org>,
Jeff Layton <jlayton@...chiereds.net>,
Trond Myklebust <trond.myklebust@...marydata.com>,
Anna Schumaker <anna.schumaker@...app.com>,
Dave Chinner <david@...morbit.com>,
linux-ext4 <linux-ext4@...r.kernel.org>,
XFS Developers <xfs@....sgi.com>,
LKML <linux-kernel@...r.kernel.org>,
linux-fsdevel <linux-fsdevel@...r.kernel.org>,
Linux NFS Mailing List <linux-nfs@...r.kernel.org>,
linux-cifs@...r.kernel.org, Linux API <linux-api@...r.kernel.org>
Subject: Re: [PATCH v13 12/51] vfs: Cache richacl in struct inode
Andreas,
On Wed, Nov 4, 2015 at 3:03 AM, Andreas Dilger <adilger@...ger.ca> 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-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists