summaryrefslogtreecommitdiff
path: root/fs/jfs/jfs_imap.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2006-01-25 00:22:50 +0300
committerDave Kleikamp <shaggy@austin.ibm.com>2006-01-25 00:22:50 +0300
commit1de87444f8f91009b726108c9a56600645ee8751 (patch)
tree66f731a701a005be55337792bf873c182470141a /fs/jfs/jfs_imap.h
parent0a0fc0ddbe732779366ab6b1b879f62195e65967 (diff)
downloadlinux-1de87444f8f91009b726108c9a56600645ee8751.tar.xz
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_imap.h')
-rw-r--r--fs/jfs/jfs_imap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/jfs/jfs_imap.h b/fs/jfs/jfs_imap.h
index 6b59adec036a..6e24465f0f98 100644
--- a/fs/jfs/jfs_imap.h
+++ b/fs/jfs/jfs_imap.h
@@ -140,8 +140,8 @@ struct dinomap {
struct inomap {
struct dinomap im_imap; /* 4096: inode allocation control */
struct inode *im_ipimap; /* 4: ptr to inode for imap */
- struct semaphore im_freelock; /* 4: iag free list lock */
- struct semaphore im_aglock[MAXAG]; /* 512: per AG locks */
+ struct mutex im_freelock; /* 4: iag free list lock */
+ struct mutex im_aglock[MAXAG]; /* 512: per AG locks */
u32 *im_DBGdimap;
atomic_t im_numinos; /* num of backed inodes */
atomic_t im_numfree; /* num of free backed inodes */