aboutsummaryrefslogtreecommitdiff
path: root/fs/jffs2/jffs2_fs_i.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/jffs2/jffs2_fs_i.h')
-rw-r--r--fs/jffs2/jffs2_fs_i.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jffs2/jffs2_fs_i.h b/fs/jffs2/jffs2_fs_i.h
index a841f4973a7..b5427b5c948 100644
--- a/fs/jffs2/jffs2_fs_i.h
+++ b/fs/jffs2/jffs2_fs_i.h
@@ -24,7 +24,7 @@ struct jffs2_inode_info {
before letting GC proceed. Or we'd have to put ugliness
into the GC code so it didn't attempt to obtain the i_mutex
for the inode(s) which are already locked */
- struct semaphore sem;
+ struct mutex sem;
/* The highest (datanode) version number used for this ino */
uint32_t highest_version;