]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc6cce22239bcfa83ee5e9894b0afe6f915f1fcf4
tree370e55ef352eb3aaf2f38ad8a36cc904c30ccff0
parent80fd772d871a830b9101d00fb4fc3212502658c0
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