]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: remove stale comment about the btrfs_show_devname
authorAnand Jain <anand.jain@oracle.com>
Tue, 24 Aug 2021 05:05:22 +0000 (13:05 +0800)
committerDavid Sterba <dsterba@suse.com>
Tue, 26 Oct 2021 17:08:00 +0000 (19:08 +0200)
commit76f1eb41e9d3f42736bee84c44d5d56ef7c328ab
tree650876f48d7b8f376a6fdd7b713604329281fae0
parent708a5c29efa5a0726f071a1b77bd80ae2f0a1876
btrfs: remove stale comment about the btrfs_show_devname

There were few lockdep warnings because btrfs_show_devname() was using
device_list_mutex as recorded in the commits:

  6345637861b3 ("btrfs: fix a possible umount deadlock")
  8dd3b1dd1a0f ("btrfs: fix lock dep warning, move scratch dev out of device_list_mutex and uuid_mutex")

And finally, commit 0ebd8c8e5043 ("btrfs: use RCU in btrfs_show_devname
for device list traversal") removed the device_list_mutex from
btrfs_show_devname for performance reasons.

This patch removes a stale comment about the function
btrfs_show_devname and device_list_mutex.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/volumes.c