VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Matthias Kaehlcke <matthias@kaehlcke.net> 2008-07-25 01:46:34 -0700 committer: Linus Torvalds <torvalds@linux-foundation.org> 2008-07-25 10:53:33 -0700 commit: 3084b72de73a6f8af0f16989ffb348068bd066d4 parent: de0ca06a99c33df8333955642843331ab6b6e7ff
Commit Summary:
hfs: convert bitmap_lock in a mutex
Diffstat:
1 file changed, 2 insertions, 1 deletion
diff --git a/fs/hfs/hfs_fs.h b/fs/hfs/hfs_fs.h
index 147374b6f675..ad6528819117 100644
--- a/fs/hfs/hfs_fs.h
+++ b/fs/hfs/hfs_fs.h
@@ -11,6 +11,7 @@
 
 #include <linux/slab.h>
 #include <linux/types.h>
+#include <linux/mutex.h>
 #include <linux/buffer_head.h>
 #include <linux/fs.h>
 
@@ -139,7 +140,7 @@ struct hfs_sb_info {
 
 	struct nls_table *nls_io, *nls_disk;
 
-	struct semaphore bitmap_lock;
+	struct mutex bitmap_lock;
 
 	unsigned long flags;