Comment typo fixes
This commit is contained in:
@@ -234,12 +234,12 @@ static recursive_lock sMountOpLock;
|
|||||||
private_node, mount) to which only read-only access is allowed.
|
private_node, mount) to which only read-only access is allowed.
|
||||||
The mutable fields advisory_locking, mandatory_locked_by, and ref_count, as
|
The mutable fields advisory_locking, mandatory_locked_by, and ref_count, as
|
||||||
well as the busy, removed, unused flags, and the vnode's type can also be
|
well as the busy, removed, unused flags, and the vnode's type can also be
|
||||||
write access when holding a read lock to sVnodeLock *and* having the vnode
|
write accessed when holding a read lock to sVnodeLock *and* having the vnode
|
||||||
locked. Writing access to covered_by requires to write lock sVnodeLock.
|
locked. Write access to covered_by requires to write lock sVnodeLock.
|
||||||
|
|
||||||
The thread trying to acquire the lock must not hold sMountMutex.
|
The thread trying to acquire the lock must not hold sMountMutex.
|
||||||
You must not have this lock held when calling create_sem(), as this
|
You must not hold this lock when calling create_sem(), as this might call
|
||||||
might call vfs_free_unused_vnodes() and thus cause a deadlock.
|
vfs_free_unused_vnodes() and thus cause a deadlock.
|
||||||
*/
|
*/
|
||||||
static rw_lock sVnodeLock = RW_LOCK_INITIALIZER("vfs_vnode_lock");
|
static rw_lock sVnodeLock = RW_LOCK_INITIALIZER("vfs_vnode_lock");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user