mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] MTD: Initialise s_flags in get_sb_mtd_aux()
@ 2007-08-30 16:21 David Howells
  0 siblings, 0 replies; only message in thread
From: David Howells @ 2007-08-30 16:21 UTC (permalink / raw)
  To: dwmw2; +Cc: linux-mtd, linux-kernel, dhowells

From: David Howells <dhowells@redhat.com>

Initialise s_flags in get_sb_mtd_aux() from the flags parameter.

Signed-off-by: David Howells <dhowells@redhat.com>
---

 drivers/mtd/mtdsuper.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/mtd/mtdsuper.c b/drivers/mtd/mtdsuper.c
index aca3319..9b430f2 100644
--- a/drivers/mtd/mtdsuper.c
+++ b/drivers/mtd/mtdsuper.c
@@ -70,6 +70,8 @@ static int get_sb_mtd_aux(struct file_system_type *fs_type, int flags,
 	DEBUG(1, "MTDSB: New superblock for device %d (\"%s\")\n",
 	      mtd->index, mtd->name);
 
+	sb->s_flags = flags;
+
 	ret = fill_super(sb, data, flags & MS_SILENT ? 1 : 0);
 	if (ret < 0) {
 		up_write(&sb->s_umount);


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-08-30 16:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-30 16:21 [PATCH] MTD: Initialise s_flags in get_sb_mtd_aux() David Howells

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®