diff options
author | Christoph Hellwig <hch@lst.de> | 2008-08-28 06:21:16 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:04:07 -0400 |
commit | eaa47d8612783807ef9703ebc9bf0d0f0455bf62 (patch) | |
tree | aae589fac6573e2974935b357bfa687dbab2e718 /fs/btrfs/extent_map.c | |
parent | eab922ec8907b8c506e799785e7e2d16eabe50e4 (diff) | |
download | op-kernel-dev-eaa47d8612783807ef9703ebc9bf0d0f0455bf62.zip op-kernel-dev-eaa47d8612783807ef9703ebc9bf0d0f0455bf62.tar.gz |
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>
Diffstat (limited to 'fs/btrfs/extent_map.c')
0 files changed, 0 insertions, 0 deletions