JFS: semaphore to mutex conversion.
the conversion was generated via scripts, and the result was validated automatically via a script as well. build and boot tested. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com>
This commit is contained in:
committed by
Dave Kleikamp
parent
0a0fc0ddbe
commit
1de87444f8
@@ -64,9 +64,9 @@
|
||||
* to the persistent bitmaps in dmaps) is guarded by (busy) buffers.
|
||||
*/
|
||||
|
||||
#define BMAP_LOCK_INIT(bmp) init_MUTEX(&bmp->db_bmaplock)
|
||||
#define BMAP_LOCK(bmp) down(&bmp->db_bmaplock)
|
||||
#define BMAP_UNLOCK(bmp) up(&bmp->db_bmaplock)
|
||||
#define BMAP_LOCK_INIT(bmp) mutex_init(&bmp->db_bmaplock)
|
||||
#define BMAP_LOCK(bmp) mutex_lock(&bmp->db_bmaplock)
|
||||
#define BMAP_UNLOCK(bmp) mutex_unlock(&bmp->db_bmaplock)
|
||||
|
||||
/*
|
||||
* forward references
|
||||
|
Reference in New Issue
Block a user