projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc0e019
)
[MTD] Initialise s_flags in get_sb_mtd_aux()
author
David Howells
<dhowells@redhat.com>
Thu, 30 Aug 2007 16:21:19 +0000
(17:21 +0100)
committer
David Woodhouse
<dwmw2@infradead.org>
Sun, 2 Sep 2007 17:18:46 +0000
(18:18 +0100)
Initialise s_flags in get_sb_mtd_aux() from the flags parameter.
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/mtdsuper.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mtd/mtdsuper.c
b/drivers/mtd/mtdsuper.c
index aca331971201ad250bd5d81bfcf908e979a57bdf..9b430f20b640feadf1b9400dc322ee51628a8a9f 100644
(file)
--- 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);