aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2007-09-04 03:39:50 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2007-09-04 03:39:50 -0400
commitbc5a6deba729a4a44d7b8019408350d4f45b7acb (patch)
tree5e290078fa32ed7606f075c8ca4c056933ddba85
parentb4154d4a01c6cc98b97dc239ca4302316c8f98da (diff)
parent48440e893d700fb8f0de95fa7d748b711d290365 (diff)
Merge git://git.infradead.org/~dwmw2/mtd-2.6.23
-rw-r--r--drivers/mtd/mtdsuper.c2
-rw-r--r--fs/jffs2/fs.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/drivers/mtd/mtdsuper.c b/drivers/mtd/mtdsuper.c
index aca331971201..9b430f20b640 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,
70 DEBUG(1, "MTDSB: New superblock for device %d (\"%s\")\n", 70 DEBUG(1, "MTDSB: New superblock for device %d (\"%s\")\n",
71 mtd->index, mtd->name); 71 mtd->index, mtd->name);
72 72
73 sb->s_flags = flags;
74
73 ret = fill_super(sb, data, flags & MS_SILENT ? 1 : 0); 75 ret = fill_super(sb, data, flags & MS_SILENT ? 1 : 0);
74 if (ret < 0) { 76 if (ret < 0) {
75 up_write(&sb->s_umount); 77 up_write(&sb->s_umount);
diff --git a/fs/jffs2/fs.c b/fs/jffs2/fs.c
index 1d3b7a9fc828..8bc727b71696 100644
--- a/fs/jffs2/fs.c
+++ b/fs/jffs2/fs.c
@@ -627,7 +627,7 @@ unsigned char *jffs2_gc_fetch_page(struct jffs2_sb_info *c,
627 struct inode *inode = OFNI_EDONI_2SFFJ(f); 627 struct inode *inode = OFNI_EDONI_2SFFJ(f);
628 struct page *pg; 628 struct page *pg;
629 629
630 pg = read_cache_page(inode->i_mapping, offset >> PAGE_CACHE_SHIFT, 630 pg = read_cache_page_async(inode->i_mapping, offset >> PAGE_CACHE_SHIFT,
631 (void *)jffs2_do_readpage_unlock, inode); 631 (void *)jffs2_do_readpage_unlock, inode);
632 if (IS_ERR(pg)) 632 if (IS_ERR(pg))
633 return (void *)pg; 633 return (void *)pg;