diff options
author | Matthias Kaehlcke <matthias@kaehlcke.net> | 2008-07-25 04:46:35 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-25 13:53:33 -0400 |
commit | 39f8d472f280dee6503a364d1d911b9e20ce3ec9 (patch) | |
tree | 43c05018acca3e30234b914e4bf80439915a2807 /fs/hfs/hfs_fs.h | |
parent | 3084b72de73a6f8af0f16989ffb348068bd066d4 (diff) |
hfs: convert extents_lock in a mutex
Apple Macintosh file system: The semaphore extens_lock is used as a mutex.
Convert it to the mutex API
Signed-off-by: Matthias Kaehlcke <matthias@kaehlcke.net>
Cc: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/hfs/hfs_fs.h')
-rw-r--r-- | fs/hfs/hfs_fs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/hfs/hfs_fs.h b/fs/hfs/hfs_fs.h index ad6528819117..9955232fdf8c 100644 --- a/fs/hfs/hfs_fs.h +++ b/fs/hfs/hfs_fs.h | |||
@@ -54,7 +54,7 @@ struct hfs_inode_info { | |||
54 | struct list_head open_dir_list; | 54 | struct list_head open_dir_list; |
55 | struct inode *rsrc_inode; | 55 | struct inode *rsrc_inode; |
56 | 56 | ||
57 | struct semaphore extents_lock; | 57 | struct mutex extents_lock; |
58 | 58 | ||
59 | u16 alloc_blocks, clump_blocks; | 59 | u16 alloc_blocks, clump_blocks; |
60 | sector_t fs_blocks; | 60 | sector_t fs_blocks; |