Re: [PATCH] sanitize xattr handler prototypes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 25 Jun 2009, Christoph Hellwig wrote:

> Add a flags argument to strcut xattr_handler and pass it to all xattr
> handler methods.  This allows using the same methods for multiple
> handlers, e.g. for the ACL methods which perform exactly the same action
> for the access and default ACLs, just using a different underlying
> attribute.  With a little more groundwork it'll also allow sharing the
> methods for the regular user/trusted/secure handlers in extN, ocfs2 and
> jffs2 like it's already done for xfs in this patch.
> 
> Also change the inode argument to the handlers to a dentry to allow
> using the handlers mechnism for filesystems that require it later,
> e.g. cifs.
> 
> 
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>

Looks like a good cleanup:

  5 files changed, 487 insertions(+), 755 deletions(-)


Reviewed-by: James Morris <jmorris@xxxxxxxxx>

-- 
James Morris
<jmorris@xxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux