Btrfs: fix return value from btrfs_listxattr when buffer size is too small
authorYehuda Sadeh Weinraub <yehudasa@gmail.com>
Wed, 17 Dec 2008 15:21:26 +0000 (10:21 -0500)
committerChris Mason <chris.mason@oracle.com>
Wed, 17 Dec 2008 15:21:26 +0000 (10:21 -0500)
commitb16281c30c841c6d999ff36c8d903f42a69315f2
treedf7ae4e2c7d948bae276c7c489158a58368a0ec5
parentcad321ad529400c6ab24c501a67c3be720a0744c
Btrfs: fix return value from btrfs_listxattr when buffer size is too small

The return value was being overwritten.

Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
fs/btrfs/xattr.c