diff options
author | Jan Kara <jack@suse.cz> | 2013-04-29 15:06:18 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-04-29 15:54:29 -0700 |
commit | b1058b981272f5027f9be17241441198dbd1fefd (patch) | |
tree | 6e5bcb8d66347b7d7978c4a37f54304a0e9f18b9 /fs/befs | |
parent | 092c8d46e348b5fa4109a06d8a1246060e09dc8c (diff) | |
download | linux-3.10-b1058b981272f5027f9be17241441198dbd1fefd.tar.gz linux-3.10-b1058b981272f5027f9be17241441198dbd1fefd.tar.bz2 linux-3.10-b1058b981272f5027f9be17241441198dbd1fefd.zip |
direct-io: submit bio after boundary buffer is added to it
Currently, dio_send_cur_page() submits bio before current page and cached
sdio->cur_page is added to the bio if sdio->boundary is set. This is
actually wrong because sdio->boundary means the current buffer is the last
one before metadata needs to be read. So we should rather submit the bio
after the current page is added to it.
Signed-off-by: Jan Kara <jack@suse.cz>
Reported-by: Kazuya Mio <k-mio@sx.jp.nec.com>
Tested-by: Kazuya Mio <k-mio@sx.jp.nec.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/befs')
0 files changed, 0 insertions, 0 deletions