* Patch "btrfs: remove error message from search ioctl for nonexistent tree" has been added to the 4.5-stable tree
@ 2016-05-17 0:01 gregkh
0 siblings, 0 replies; only message in thread
From: gregkh @ 2016-05-17 0:01 UTC (permalink / raw)
To: dsterba, gregkh, vbabka; +Cc: stable, stable-commits
This is a note to let you know that I've just added the patch titled
btrfs: remove error message from search ioctl for nonexistent tree
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-remove-error-message-from-search-ioctl-for-nonexistent-tree.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 <stable@vger.kernel.org> know about it.
>From 11ea474f74709fc764fb7e80306e0776f94ce8b8 Mon Sep 17 00:00:00 2001
From: David Sterba <dsterba@suse.com>
Date: Thu, 11 Feb 2016 15:30:07 +0100
Subject: btrfs: remove error message from search ioctl for nonexistent tree
From: David Sterba <dsterba@suse.com>
commit 11ea474f74709fc764fb7e80306e0776f94ce8b8 upstream.
Let's remove the error message that appears when the tree_id is not
present. This can happen with the quota tree and has been observed in
practice. The applications are supposed to handle -ENOENT and we don't
need to report that in the system log as it's not a fatal error.
Reported-by: Vlastimil Babka <vbabka@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
fs/btrfs/ioctl.c | 2 --
1 file changed, 2 deletions(-)
--- a/fs/btrfs/ioctl.c
+++ b/fs/btrfs/ioctl.c
@@ -2097,8 +2097,6 @@ static noinline int search_ioctl(struct
key.offset = (u64)-1;
root = btrfs_read_fs_root_no_name(info, &key);
if (IS_ERR(root)) {
- btrfs_err(info, "could not find root %llu",
- sk->tree_id);
btrfs_free_path(path);
return -ENOENT;
}
Patches currently in stable-queue which might be from dsterba@suse.com are
queue-4.5/btrfs-remove-error-message-from-search-ioctl-for-nonexistent-tree.patch
queue-4.5/btrfs-fix-truncate_space_check.patch
queue-4.5/btrfs-reada-fix-in-segment-calculation-for-reada.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-05-17 0:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-17 0:01 Patch "btrfs: remove error message from search ioctl for nonexistent tree" has been added to the 4.5-stable tree gregkh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox