btrfs: pass the right error code to the btrfs_std_error
authorAnand Jain <anand.jain@oracle.com>
Thu, 10 Mar 2016 04:22:15 +0000 (12:22 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 2 May 2016 15:50:13 +0000 (17:50 +0200)
commitad8403df054c9b5dc3175a26c6179571b9cafa4e
tree1a6afd53b5217db92a5ec86e792dc339f05e9c0f
parent180e4d4700b1b7bfdffd9e58ae95220ae9482d17
btrfs: pass the right error code to the btrfs_std_error

Also drop the newline from the message.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ioctl.c