提交 097efc96 编写于 作者: A Anand Jain 提交者: David Sterba

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: NAnand Jain <anand.jain@oracle.com>
[reworded subject and changelog]
Signed-off-by: NDavid Sterba <dsterba@suse.com>
上级 9e271ae2
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册