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>
This commit is contained in:

committed by
Linus Torvalds

parent
3084b72de7
commit
39f8d472f2
@@ -54,7 +54,7 @@ struct hfs_inode_info {
|
||||
struct list_head open_dir_list;
|
||||
struct inode *rsrc_inode;
|
||||
|
||||
struct semaphore extents_lock;
|
||||
struct mutex extents_lock;
|
||||
|
||||
u16 alloc_blocks, clump_blocks;
|
||||
sector_t fs_blocks;
|
||||
|
Reference in New Issue
Block a user