From: David Sterba Date: Wed, 27 Feb 2013 23:13:55 +0000 (+0000) Subject: btrfs: remove a printk from scan_one_device X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2d8946c59743bc635a5e5701e6ef8e71e0a16ab7;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git btrfs: remove a printk from scan_one_device Dave pointed out that he saw messages from btrfs although there was no such filesystem on his computers. The automatic device scan is called on every new blockdevice if the usual distro udev rule set is used. The printk introduced in 6f60cbd3ae442c was a remainder from copying portions of code from btrfs_get_bdev_and_sb which is used under different conditions and the warning makes sense there. Reported-by: Dave Chinner Signed-off-by: David Sterba Signed-off-by: Josef Bacik --- diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index db72e0cc6f87..35bb2d4ed29f 100644 --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes.c @@ -829,7 +829,6 @@ int btrfs_scan_one_device(const char *path, fmode_t flags, void *holder, if (IS_ERR(bdev)) { ret = PTR_ERR(bdev); - printk(KERN_INFO "btrfs: open %s failed\n", path); goto error; }