diff options
author | Ingo Molnar <mingo@elte.hu> | 2006-01-24 15:22:50 -0600 |
---|---|---|
committer | Dave Kleikamp <shaggy@austin.ibm.com> | 2006-01-24 15:22:50 -0600 |
commit | 1de87444f8f91009b726108c9a56600645ee8751 (patch) | |
tree | 66f731a701a005be55337792bf873c182470141a /fs/jfs/jfs_logmgr.c | |
parent | 0a0fc0ddbe732779366ab6b1b879f62195e65967 (diff) | |
download | linux-stable-1de87444f8f91009b726108c9a56600645ee8751.tar.gz linux-stable-1de87444f8f91009b726108c9a56600645ee8751.tar.bz2 linux-stable-1de87444f8f91009b726108c9a56600645ee8751.zip |
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>
Diffstat (limited to 'fs/jfs/jfs_logmgr.c')
-rw-r--r-- | fs/jfs/jfs_logmgr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/jfs/jfs_logmgr.c b/fs/jfs/jfs_logmgr.c index d27bac6acaa3..06bded6c12b9 100644 --- a/fs/jfs/jfs_logmgr.c +++ b/fs/jfs/jfs_logmgr.c @@ -87,9 +87,9 @@ DECLARE_WAIT_QUEUE_HEAD(jfs_IO_thread_wait); /* * log read/write serialization (per log) */ -#define LOG_LOCK_INIT(log) init_MUTEX(&(log)->loglock) -#define LOG_LOCK(log) down(&((log)->loglock)) -#define LOG_UNLOCK(log) up(&((log)->loglock)) +#define LOG_LOCK_INIT(log) mutex_init(&(log)->loglock) +#define LOG_LOCK(log) mutex_lock(&((log)->loglock)) +#define LOG_UNLOCK(log) mutex_unlock(&((log)->loglock)) /* |