Re: [PATCH v13 12/51] vfs: Cache richacl in struct inode

2015-11-04 Thread Andreas Gruenbacher
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(>a_refcount, 1); >> + atomic_set(>a_base.ba_refcount, 1); >>

Re: [PATCH v13 12/51] vfs: Cache richacl in struct inode

2015-11-04 Thread Andreas Gruenbacher
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(>a_refcount, 1); >> +

Re: [PATCH v13 12/51] vfs: Cache richacl in struct inode

2015-11-03 Thread Andreas Dilger
On Nov 3, 2015, at 8:16 AM, Andreas Gruenbacher wrote: > > Cache richacls in struct inode so that this doesn't have to be done > individually in each filesystem. This is similar to POSIX ACLs. > > Signed-off-by: Andreas Gruenbacher > --- > fs/inode.c | 11 ++-- >

[PATCH v13 12/51] vfs: Cache richacl in struct inode

2015-11-03 Thread Andreas Gruenbacher
Cache richacls in struct inode so that this doesn't have to be done individually in each filesystem. This is similar to POSIX ACLs. Signed-off-by: Andreas Gruenbacher --- fs/inode.c | 11 ++-- fs/posix_acl.c | 2 +- fs/richacl_base.c | 4 +--

Re: [PATCH v13 12/51] vfs: Cache richacl in struct inode

2015-11-03 Thread Andreas Dilger
On Nov 3, 2015, at 8:16 AM, Andreas Gruenbacher wrote: > > Cache richacls in struct inode so that this doesn't have to be done > individually in each filesystem. This is similar to POSIX ACLs. > > Signed-off-by: Andreas Gruenbacher > --- > fs/inode.c

[PATCH v13 12/51] vfs: Cache richacl in struct inode

2015-11-03 Thread Andreas Gruenbacher
Cache richacls in struct inode so that this doesn't have to be done individually in each filesystem. This is similar to POSIX ACLs. Signed-off-by: Andreas Gruenbacher --- fs/inode.c | 11 ++-- fs/posix_acl.c | 2 +- fs/richacl_base.c | 4