Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

bcachefs: six lock: fix typos

Fix a few typos in the six.h header file.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Kent Overstreet <kent.overstreet@linux.dev>
Cc: Brian Foster <bfoster@redhat.com>
Cc: linux-bcachefs@vger.kernel.org
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>

authored by

Randy Dunlap and committed by
Kent Overstreet
b56cee70 f8fd5871

+3 -3
+3 -3
fs/bcachefs/six.h
··· 15 15 * will have to take write locks for the full duration of the operation. 16 16 * 17 17 * But by adding an intent state, which is exclusive with other intent locks but 18 - * not with readers, we can take intent locks at thte start of the operation, 18 + * not with readers, we can take intent locks at the start of the operation, 19 19 * and then take write locks only for the actual update to each individual 20 20 * nodes, without deadlocking. 21 21 * ··· 65 65 * 66 66 * Reentrancy: 67 67 * 68 - * Six locks are not by themselves reentrent, but have counters for both the 69 - * read and intent states that can be used to provide reentrency by an upper 68 + * Six locks are not by themselves reentrant, but have counters for both the 69 + * read and intent states that can be used to provide reentrancy by an upper 70 70 * layer that tracks held locks. If a lock is known to already be held in the 71 71 * read or intent state, six_lock_increment() can be used to bump the "lock 72 72 * held in this state" counter, increasing the number of unlock calls that