From: Christoph Hellwig Date: Thu, 28 Aug 2008 10:21:16 +0000 (-0400) Subject: btrfs: optmize listxattr X-Git-Tag: v2.6.29-rc1~27^2~9^2~55^2~56^2~30^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eaa47d8612783807ef9703ebc9bf0d0f0455bf62;p=pandora-kernel.git 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 Signed-off-by: Chris Mason --- Reading git-diff-tree failed