[Btrfs-devel] [PATCH 4/4] xattr handlers

Zach Brown zach.brown at oracle.com
Thu Nov 8 10:21:12 PST 2007


Josef Bacik wrote:
> Hello,
> 
> These are all the files for the different xattr handlers.  Note that the ACL
> stuff is just there as a placeholder for now, it doesn't actually do anything.
> Thank you,

Hmm.

It looks like there should just be one generic _list function that all
the prefixes use.

And then btrfs_xattr_get should perform that silly-looking strcmp() so
that every caller doesn't have to.

Ideally the kernel interface would let us have fs-specific data in the
prefix table table which is passed into the functions, but that'd be a
clean-up for another day ;).

- z



More information about the Btrfs-devel mailing list