diff options
Diffstat (limited to 'fs/gfs2/super.c')
-rw-r--r-- | fs/gfs2/super.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/super.c b/fs/gfs2/super.c index f6ce5e4eaf7e..6a78b1b32e25 100644 --- a/fs/gfs2/super.c +++ b/fs/gfs2/super.c | |||
@@ -180,7 +180,7 @@ static int end_bio_io_page(struct bio *bio, unsigned int bytes_done, int error) | |||
180 | return 0; | 180 | return 0; |
181 | } | 181 | } |
182 | 182 | ||
183 | static struct page *gfs2_read_super(struct super_block *sb, sector_t sector) | 183 | struct page *gfs2_read_super(struct super_block *sb, sector_t sector) |
184 | { | 184 | { |
185 | struct page *page; | 185 | struct page *page; |
186 | struct bio *bio; | 186 | struct bio *bio; |
@@ -205,7 +205,7 @@ static struct page *gfs2_read_super(struct super_block *sb, sector_t sector) | |||
205 | 205 | ||
206 | bio->bi_end_io = end_bio_io_page; | 206 | bio->bi_end_io = end_bio_io_page; |
207 | bio->bi_private = page; | 207 | bio->bi_private = page; |
208 | submit_bio(READ_SYNC, bio); | 208 | submit_bio(READ_SYNC | (1 << BIO_RW_META), bio); |
209 | wait_on_page_locked(page); | 209 | wait_on_page_locked(page); |
210 | bio_put(bio); | 210 | bio_put(bio); |
211 | if (!PageUptodate(page)) { | 211 | if (!PageUptodate(page)) { |