]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: remove a printk from scan_one_device
authorDavid Sterba <dsterba@suse.cz>
Wed, 27 Feb 2013 23:13:55 +0000 (23:13 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Thu, 28 Feb 2013 18:33:52 +0000 (13:33 -0500)
commit2285971cdb0aecea33d400f6e0426eca1e2c91c2
treead8c4d5c052e0350901c5e9b8cb35a1dc12dcfb0
parentb09b46fd88c98ef28b3fea78998cdfb4d730f2e6
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 b2180d4221f0b6 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>
fs/btrfs/volumes.c