]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - fs/mpage.c
mn10300: remove wrapper header for asm/device.h
[linux.git] / fs / mpage.c
index 9524fdde00c2fa01dc26edd56c16e636fe17d350..2e4c41ccb5c91a4824465678215d190e228134e6 100644 (file)
@@ -345,6 +345,7 @@ do_mpage_readpage(struct bio *bio, struct page *page, unsigned nr_pages,
  *
  * So an mpage read of the first 16 blocks of an ext2 file will cause I/O to be
  * submitted in the following order:
+ *
  *     12 0 1 2 3 4 5 6 7 8 9 10 11 13 14 15 16
  *
  * because the indirect block has to be read to get the mappings of blocks
@@ -615,6 +616,7 @@ static int __mpage_writepage(struct page *page, struct writeback_control *wbc,
                        goto confused;
 
                wbc_init_bio(wbc, bio);
+               bio->bi_write_hint = inode->i_write_hint;
        }
 
        /*