[GFS2] Fix bug in super block reading code
This gets the argument to submit_bio() correct.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
diff --git a/fs/gfs2/super.c b/fs/gfs2/super.c
index 48fd4cb49..3c318a9 100644
--- a/fs/gfs2/super.c
+++ b/fs/gfs2/super.c
@@ -167,6 +167,8 @@
if (!error)
SetPageUptodate(page);
+ else
+ printk(KERN_WARNING "gfs2: error %d reading superblock\n", error);
unlock_page(page);
return 0;
}
@@ -196,7 +198,7 @@
bio->bi_end_io = end_bio_io_page;
bio->bi_private = page;
- submit_bio(READ | BIO_RW_SYNC, bio);
+ submit_bio(READ_SYNC, bio);
wait_on_page_locked(page);
bio_put(bio);
if (!PageUptodate(page)) {