mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-03 21:01:50 +00:00
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
1 changed files with 0 additions and 1 deletions
|
@ -198,7 +198,6 @@ btrfs_get_bdev_and_sb(const char *device_path, fmode_t flags, void *holder,
|
||||||
|
|
||||||
if (IS_ERR(*bdev)) {
|
if (IS_ERR(*bdev)) {
|
||||||
ret = PTR_ERR(*bdev);
|
ret = PTR_ERR(*bdev);
|
||||||
printk(KERN_INFO "BTRFS: open %s failed\n", device_path);
|
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue