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>
This commit is contained in:
parent
bb8e9a6080
commit
727e60604f
|
@ -1964,10 +1964,6 @@ again:
|
||||||
}
|
}
|
||||||
cow_done:
|
cow_done:
|
||||||
p->nodes[level] = b;
|
p->nodes[level] = b;
|
||||||
/*
|
|
||||||
* Leave path with blocking locks to avoid massive
|
|
||||||
* lock context switch, this is made on purpose.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* we have a lock on b and as long as we aren't changing
|
* we have a lock on b and as long as we aren't changing
|
||||||
|
|
Loading…
Reference in New Issue