Patch "btrfs: pass the right error code to the btrfs_std_error" has been added to the 4.5-stable tree

From: <gregkh@linuxfoundation.org>
Date: 2016-06-05 22:03:16

This is a note to let you know that I've just added the patch titled

    btrfs: pass the right error code to the btrfs_std_error

to the 4.5-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     btrfs-pass-the-right-error-code-to-the-btrfs_std_error.patch
and it can be found in the queue-4.5 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let [off-list ref] know about it.

From ad8403df054c9b5dc3175a26c6179571b9cafa4e Mon Sep 17 00:00:00 2001
From: Anand Jain <redacted>
Date: Thu, 10 Mar 2016 12:22:15 +0800
Subject: btrfs: pass the right error code to the btrfs_std_error

From: Anand Jain <redacted>

commit ad8403df054c9b5dc3175a26c6179571b9cafa4e upstream.

Also drop the newline from the message.

Signed-off-by: Anand Jain <redacted>
Signed-off-by: David Sterba <dsterba@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>


---
 fs/btrfs/ioctl.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
--- a/fs/btrfs/ioctl.c
+++ b/fs/btrfs/ioctl.c
@@ -4849,8 +4849,8 @@ static long btrfs_ioctl_qgroup_assign(st
 	/* update qgroup status and info */
 	err = btrfs_run_qgroups(trans, root->fs_info);
 	if (err < 0)
-		btrfs_std_error(root->fs_info, ret,
-			    "failed to update qgroup status and info\n");
+		btrfs_std_error(root->fs_info, err,
+			    "failed to update qgroup status and info");
 	err = btrfs_end_transaction(trans, root);
 	if (err && !ret)
 		ret = err;

Patches currently in stable-queue which might be from anand.jain@oracle.com are

queue-4.5/btrfs-pass-the-right-error-code-to-the-btrfs_std_error.patch
queue-4.5/btrfs-fix-lock-dep-warning-move-scratch-super-outside-of-chunk_mutex.patch
queue-4.5/btrfs-fix-lock-dep-warning-move-scratch-dev-out-of-device_list_mutex-and-uuid_mutex.patch
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help