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:03 +0000 (10:21 -0500)
committerChris Mason <chris.mason@oracle.com>
Wed, 17 Dec 2008 15:21:03 +0000 (10:21 -0500)
commitd7f735d0bc68c411abda0a612e1421bdade649cc
treeca599e975c92de75c98283756f80b2aa7a1879bb
parentdcbdd4dcb9793b00b46ab023e9330922c8c7c54c
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>