[PATCH] mutex subsystem, semaphore to mutex: XFS
This patch switches XFS over to use the new mutex code directly as opposed to the previous workaround patch I posted earlier that avoided the namespace clash by forcing it back to semaphores. This falls in the 'works for me<tm>' category. Signed-off-by: Jes Sorensen <jes@trained-monkey.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
committed by
Ingo Molnar
parent
de5097c2e7
commit
794ee1baee
@@ -117,7 +117,7 @@ xfs_mount_init(void)
|
||||
|
||||
AIL_LOCKINIT(&mp->m_ail_lock, "xfs_ail");
|
||||
spinlock_init(&mp->m_sb_lock, "xfs_sb");
|
||||
mutex_init(&mp->m_ilock, MUTEX_DEFAULT, "xfs_ilock");
|
||||
mutex_init(&mp->m_ilock);
|
||||
initnsema(&mp->m_growlock, 1, "xfs_grow");
|
||||
/*
|
||||
* Initialize the AIL.
|
||||
|
Reference in New Issue
Block a user