Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1400300 > unrolled thread
| Started by | Salah Triki <salah.triki@acm.org> |
|---|---|
| First post | 2016-05-12 21:30 +0200 |
| Last post | 2016-05-12 22:30 +0200 |
| Articles | 3 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] fs: jffs2: initialize the field fs_flags Salah Triki <salah.triki@acm.org> - 2016-05-12 21:30 +0200
Re: [PATCH] fs: jffs2: initialize the field fs_flags "David Woodhouse" <dwmw2@infradead.org> - 2016-05-12 22:30 +0200
Re: [PATCH] fs: jffs2: initialize the field fs_flags "David Woodhouse" <dwmw2@infradead.org> - 2016-05-12 22:30 +0200
| From | Salah Triki <salah.triki@acm.org> |
|---|---|
| Date | 2016-05-12 21:30 +0200 |
| Subject | [PATCH] fs: jffs2: initialize the field fs_flags |
| Message-ID | <ry4t4-3G6-7@gated-at.bofh.it> |
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
[toc] | [next] | [standalone]
| From | "David Woodhouse" <dwmw2@infradead.org> |
|---|---|
| Date | 2016-05-12 22:30 +0200 |
| Message-ID | <ry5p8-4Cj-11@gated-at.bofh.it> |
| In reply to | #1400300 |
> jffs2 requires device, so the field fs_flags of the structure > file_system_type must be initialized to FS_REQUIRES_DEV. No, it doesn't require a device. Or even CONFIG_BLOCK. -- dwmw2
[toc] | [prev] | [next] | [standalone]
| From | "David Woodhouse" <dwmw2@infradead.org> |
|---|---|
| Date | 2016-05-12 22:30 +0200 |
| Message-ID | <ry5p8-4Cj-15@gated-at.bofh.it> |
| In reply to | #1400300 |
> jffs2 requires device, so the field fs_flags of the structure > file_system_type must be initialized to FS_REQUIRES_DEV. No, it doesn't require a device. Or even CONFIG_BLOCK. -- dwmw2
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web