summaryrefslogtreecommitdiff
path: root/components/dfs/filesystems/jffs2/include/linux
diff options
context:
space:
mode:
author[email protected] <[email protected]>2012-01-29 08:23:14 +0000
committer[email protected] <[email protected]>2012-01-29 08:23:14 +0000
commitfcf01d1d3d08e3fed2af2f35d49defa21bfb09be (patch)
treea0bd35361b168fd79ad0b718444a4d4404d81778 /components/dfs/filesystems/jffs2/include/linux
parent2f9cd34325b3151651b145498eb2f2e369ccad79 (diff)
fix mutex issue in semaphore.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1927 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/dfs/filesystems/jffs2/include/linux')
-rw-r--r--components/dfs/filesystems/jffs2/include/linux/jffs2_fs_i.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/dfs/filesystems/jffs2/include/linux/jffs2_fs_i.h b/components/dfs/filesystems/jffs2/include/linux/jffs2_fs_i.h
index a5db884ec6..7f30282653 100644
--- a/components/dfs/filesystems/jffs2/include/linux/jffs2_fs_i.h
+++ b/components/dfs/filesystems/jffs2/include/linux/jffs2_fs_i.h
@@ -40,7 +40,7 @@ struct jffs2_inode_info {
uint16_t flags;
uint8_t usercompr;
-#if !defined (__ECOS)
+#if !defined (__ECOS) && !defined(RT_THREAD)
#if LINUX_VERSION_CODE > KERNEL_VERSION(2,5,2)
struct inode vfs_inode;
#endif