Btrfs: don't log error from btrfs_get_bdev_and_sb
Originally the message was not in a helper but ended up there. We should print error messages from callers instead. Signed-off-by: Anand Jain <anand.jain@oracle.com> [reworded subject and changelog] Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
9e271ae27e
commit
097efc966a
|
@ -198,7 +198,6 @@ btrfs_get_bdev_and_sb(const char *device_path, fmode_t flags, void *holder,
|
|||
|
||||
if (IS_ERR(*bdev)) {
|
||||
ret = PTR_ERR(*bdev);
|
||||
printk(KERN_INFO "BTRFS: open %s failed\n", device_path);
|
||||
goto error;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue