Jaegeuk Kim f1a3b98e73 f2fs: fix accessing wrong indexed data blocks
This patch fixes the following test.

This causes:
 attempt to access beyond end of device
 sdb2: rw=16384, want=14413962000, limit=16777216

The reason is:
 - f2fs_write_begin
  - f2fs_convert_inline_inode returns -ENOSPC
  - f2fs_write_failed
   - truncate_blocks
    - truncate_partial_data_page
     - find_data_page
      - get_dnode_of_data returns wrong data index retrieved from inline_data
      - f2fs_submit_page_bio(wrong data index)
       - submit_bio(wrong data index)

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2015-02-11 17:04:51 -08:00
..
2015-02-11 17:04:49 -08:00
2015-02-11 17:04:50 -08:00
2015-02-11 17:04:49 -08:00
2015-02-11 17:04:41 -08:00
2015-02-11 17:04:49 -08:00
2014-08-29 00:26:50 -07:00
2015-01-09 17:02:24 -08:00
2015-01-09 17:02:24 -08:00
2015-02-11 17:04:50 -08:00
2015-02-11 17:04:50 -08:00
2015-02-11 17:04:44 -08:00
2015-02-11 17:04:49 -08:00