diff options
author | David Sterba <dsterba@suse.cz> | 2013-02-27 18:13:55 -0500 |
---|---|---|
committer | Josef Bacik <jbacik@fusionio.com> | 2013-02-28 13:33:52 -0500 |
commit | 2d8946c59743bc635a5e5701e6ef8e71e0a16ab7 (patch) | |
tree | ad8c4d5c052e0350901c5e9b8cb35a1dc12dcfb0 /fs/btrfs/volumes.c | |
parent | f094ac32aba3a51c00e970a2ea029339af2ca048 (diff) |
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 <dchinner@redhat.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'fs/btrfs/volumes.c')
-rw-r--r-- | fs/btrfs/volumes.c | 1 |
1 files changed, 0 insertions, 1 deletions
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, | |||
829 | 829 | ||
830 | if (IS_ERR(bdev)) { | 830 | if (IS_ERR(bdev)) { |
831 | ret = PTR_ERR(bdev); | 831 | ret = PTR_ERR(bdev); |
832 | printk(KERN_INFO "btrfs: open %s failed\n", path); | ||
833 | goto error; | 832 | goto error; |
834 | } | 833 | } |
835 | 834 | ||