btrfs: remove error message from search ioctl for nonexistent tree
authorDavid Sterba <dsterba@suse.com>
Thu, 11 Feb 2016 14:30:07 +0000 (15:30 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 May 2016 01:35:16 +0000 (18:35 -0700)
commit202efaae84a571169bb9f0b17618eb7f718675cc
tree3e892dfca6dc894c88b433ac2b842fcee7b3d1b5
parent94863434d5f90aae0a956f7c2b753f959dcc0c85
btrfs: remove error message from search ioctl for nonexistent tree

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