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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Jun 2016 01:18:55 +0000 (18:18 -0700)
commit5ea5cce51c0a9a22aa016e1c7b7c62452124ae12
treec4b67f4d8dcc062f50f4c2cf5b235dd820e0ea02
parent7281989d24e3e286ab745f0f5a75ab8ac761854d
btrfs: pass the right error code to the btrfs_std_error

commit ad8403df054c9b5dc3175a26c6179571b9cafa4e upstream.

Also drop the newline from the message.

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