Re: [PATCH -V1 19/22] vfs: Cache richacl in struct inode

2014-05-01 Thread Aneesh Kumar K.V
Dave Chinner writes: > On Sun, Apr 27, 2014 at 09:44:50PM +0530, Aneesh Kumar K.V wrote: >> From: Andreas Gruenbacher >> >> Cache richacls in struct inode so that this doesn't have to be done >> individually in each filesystem. >> >> Signed-off-by: Andreas Gruenbacher >> Signed-off-by:

Re: [PATCH -V1 19/22] vfs: Cache richacl in struct inode

2014-05-01 Thread Aneesh Kumar K.V
Dave Chinner da...@fromorbit.com writes: On Sun, Apr 27, 2014 at 09:44:50PM +0530, Aneesh Kumar K.V wrote: From: Andreas Gruenbacher agr...@kernel.org Cache richacls in struct inode so that this doesn't have to be done individually in each filesystem. Signed-off-by: Andreas Gruenbacher

Re: [PATCH -V1 19/22] vfs: Cache richacl in struct inode

2014-04-29 Thread Matthew Wilcox
On Tue, Apr 29, 2014 at 10:52:04AM +1000, Dave Chinner wrote: > > #ifdef CONFIG_FSNOTIFY > > @@ -240,10 +246,19 @@ void __destroy_inode(struct inode *inode) > > } > > > > #ifdef CONFIG_FS_POSIX_ACL > > - if (inode->i_acl && inode->i_acl != ACL_NOT_CACHED) > > -

Re: [PATCH -V1 19/22] vfs: Cache richacl in struct inode

2014-04-29 Thread Matthew Wilcox
On Tue, Apr 29, 2014 at 10:52:04AM +1000, Dave Chinner wrote: #ifdef CONFIG_FSNOTIFY @@ -240,10 +246,19 @@ void __destroy_inode(struct inode *inode) } #ifdef CONFIG_FS_POSIX_ACL - if (inode-i_acl inode-i_acl != ACL_NOT_CACHED) - posix_acl_release(inode-i_acl);

Re: [PATCH -V1 19/22] vfs: Cache richacl in struct inode

2014-04-28 Thread Dave Chinner
On Sun, Apr 27, 2014 at 09:44:50PM +0530, Aneesh Kumar K.V wrote: > From: Andreas Gruenbacher > > Cache richacls in struct inode so that this doesn't have to be done > individually in each filesystem. > > Signed-off-by: Andreas Gruenbacher > Signed-off-by: Aneesh Kumar K.V > --- > fs/inode.c

Re: [PATCH -V1 19/22] vfs: Cache richacl in struct inode

2014-04-28 Thread Dave Chinner
On Sun, Apr 27, 2014 at 09:44:50PM +0530, Aneesh Kumar K.V wrote: From: Andreas Gruenbacher agr...@kernel.org Cache richacls in struct inode so that this doesn't have to be done individually in each filesystem. Signed-off-by: Andreas Gruenbacher agr...@kernel.org Signed-off-by: Aneesh

[PATCH -V1 19/22] vfs: Cache richacl in struct inode

2014-04-27 Thread Aneesh Kumar K.V
From: Andreas Gruenbacher Cache richacls in struct inode so that this doesn't have to be done individually in each filesystem. Signed-off-by: Andreas Gruenbacher Signed-off-by: Aneesh Kumar K.V --- fs/inode.c | 25 ++- include/linux/fs.h | 12 +--

[PATCH -V1 19/22] vfs: Cache richacl in struct inode

2014-04-27 Thread Aneesh Kumar K.V
From: Andreas Gruenbacher agr...@kernel.org Cache richacls in struct inode so that this doesn't have to be done individually in each filesystem. Signed-off-by: Andreas Gruenbacher agr...@kernel.org Signed-off-by: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com --- fs/inode.c | 25