lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 12 May 2016 20:25:55 +0100
From:	Salah Triki <salah.triki@....org>
To:	dwmw2@...radead.org
Cc:	linux-mtd@...ts.infradead.org, linux-kernel@...r.kernel.org,
	salah.triki@....org
Subject: [PATCH] fs: jffs2: initialize the field fs_flags

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@....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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ