]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: update outdated comment for read_block_for_search()
authorFilipe Manana <fdmanana@suse.com>
Fri, 11 Mar 2022 11:35:33 +0000 (11:35 +0000)
committerDavid Sterba <dsterba@suse.com>
Mon, 16 May 2022 15:03:07 +0000 (17:03 +0200)
commit5a1aa92ffa1a3d0a9667100114bf50b22747d57f
tree41e0bcec763c0fd31b27efd54c43b021cf96a632
parent21534ff009b331c4d9cb77ab2259f7623763eeab
btrfs: update outdated comment for read_block_for_search()

The comment at the top of read_block_for_search() is very outdated, as it
refers to the blocking versus spinning path locking modes. We no longer
have these two locking modes after we switched the btree locks from custom
code to rw semaphores. So update the comment to stop referring to the
blocking mode and put it more up to date.

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