Searched hist:eaa47d8612783807ef9703ebc9bf0d0f0455bf62 (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/fs/btrfs/ |
H A D | xattr.h | diff eaa47d8612783807ef9703ebc9bf0d0f0455bf62 Thu Aug 28 05:21:16 CDT 2008 Christoph Hellwig <hch@lst.de> btrfs: optmize listxattr
The ->list handler is really not useful at all, because we always call btrfs_xattr_generic_list anyway. After this is done find_btrfs_xattr_handler becomes unused, and it becomes obvious that the temporary name buffer allocation isn't needed but we can directly copy into the supplied buffer.
Tested with various getfattr -d calls on varying xattr lists.
Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Chris Mason <chris.mason@oracle.com>
|
H A D | acl.c | diff eaa47d8612783807ef9703ebc9bf0d0f0455bf62 Thu Aug 28 05:21:16 CDT 2008 Christoph Hellwig <hch@lst.de> btrfs: optmize listxattr
The ->list handler is really not useful at all, because we always call btrfs_xattr_generic_list anyway. After this is done find_btrfs_xattr_handler becomes unused, and it becomes obvious that the temporary name buffer allocation isn't needed but we can directly copy into the supplied buffer.
Tested with various getfattr -d calls on varying xattr lists.
Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Chris Mason <chris.mason@oracle.com>
|
H A D | xattr.c | diff eaa47d8612783807ef9703ebc9bf0d0f0455bf62 Thu Aug 28 05:21:16 CDT 2008 Christoph Hellwig <hch@lst.de> btrfs: optmize listxattr
The ->list handler is really not useful at all, because we always call btrfs_xattr_generic_list anyway. After this is done find_btrfs_xattr_handler becomes unused, and it becomes obvious that the temporary name buffer allocation isn't needed but we can directly copy into the supplied buffer.
Tested with various getfattr -d calls on varying xattr lists.
Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Chris Mason <chris.mason@oracle.com>
|