lkml.org 
[lkml]   [2016]   [May]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] fs: jffs2: initialize the field fs_flags
Date
jffs2 requires device, so the field fs_flags of the structure
file_system_type must be initialized to FS_REQUIRES_DEV.

Signed-off-by: Salah Triki <salah.triki@acm.org>
---
fs/jffs2/super.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/fs/jffs2/super.c b/fs/jffs2/super.c
index 0a9a114..fd24af9 100644
--- a/fs/jffs2/super.c
+++ b/fs/jffs2/super.c
@@ -353,6 +353,7 @@ static struct file_system_type jffs2_fs_type = {
.name = "jffs2",
.mount = jffs2_mount,
.kill_sb = jffs2_kill_sb,
+ .fs_fags = FS_REQUIRES_DEV
};
MODULE_ALIAS_FS("jffs2");

--
1.9.1
\
 
 \ /
  Last update: 2016-05-12 21:41    [W:1.204 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site