btrfs: remove stale comment about locking at btrfs_search_slot()
authorFilipe Manana <fdmanana@suse.com>
Thu, 2 Dec 2021 10:30:40 +0000 (10:30 +0000)
committerDavid Sterba <dsterba@suse.com>
Fri, 7 Jan 2022 13:18:23 +0000 (14:18 +0100)
commit727e60604f6a61b8e4330e8fe63a8cf0a067d29d
tree370e55ef352eb3aaf2f38ad8a36cc904c30ccff0
parentbb8e9a608055e016aace6db269432ba52a57dcc1
btrfs: remove stale comment about locking at btrfs_search_slot()

The comment refers to the old extent buffer locking code, where we used to
have custom locks that had blocking and spinning behaviour modes. That is
not the case anymore, since we have transitioned to rw semaphores, so the
comment does not offer any value anymore. Remove it.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.c