[JFFS2] Self-sufficient #includes in jffs2_fs_i.h: include <linux/mutex.h>

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Tue Apr 22 19:59:01 EDT 2008


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=cf9d1e428cc28ef5798aeda0822a6ce64849a439
Commit:     cf9d1e428cc28ef5798aeda0822a6ce64849a439
Parent:     ed8165c75e3dd0b2e51b92a858cabe29ba00c9cb
Author:     David Woodhouse <dwmw2 at infradead.org>
AuthorDate: Tue Apr 22 23:53:26 2008 +0100
Committer:  David Woodhouse <dwmw2 at infradead.org>
CommitDate: Tue Apr 22 23:53:26 2008 +0100

    [JFFS2] Self-sufficient #includes in jffs2_fs_i.h: include <linux/mutex.h>
    
    ... instead of <linux/semaphore.h> which we don't need any more anyway.
    
    Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
---
 fs/jffs2/jffs2_fs_i.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fs/jffs2/jffs2_fs_i.h b/fs/jffs2/jffs2_fs_i.h
index b5427b5..31559f4 100644
--- a/fs/jffs2/jffs2_fs_i.h
+++ b/fs/jffs2/jffs2_fs_i.h
@@ -15,7 +15,7 @@
 #include <linux/version.h>
 #include <linux/rbtree.h>
 #include <linux/posix_acl.h>
-#include <linux/semaphore.h>
+#include <linux/mutex.h>
 
 struct jffs2_inode_info {
 	/* We need an internal mutex similar to inode->i_mutex.



More information about the linux-mtd-cvs mailing list