Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 210445
b: refs/heads/master
c: 7a801ac
h: refs/heads/master
i:
  210443: 0d1fec1
v: v3
  • Loading branch information
Jeff Moyer authored and Linus Torvalds committed Sep 10, 2010
1 parent 228c161 commit ba61e93
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4e70598c3b56e6fec551454c495d4d4025834749
refs/heads/master: 7a801ac6f5067539ceb5fad0fe90ec49fc156e47
4 changes: 2 additions & 2 deletions trunk/fs/direct-io.c
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ static int dio_send_cur_page(struct dio *dio)
int ret = 0;

if (dio->bio) {
loff_t cur_offset = dio->block_in_file << dio->blkbits;
loff_t cur_offset = dio->cur_page_fs_offset;
loff_t bio_next_offset = dio->logical_offset_in_bio +
dio->bio->bi_size;

Expand All @@ -659,7 +659,7 @@ static int dio_send_cur_page(struct dio *dio)
* Submit now if the underlying fs is about to perform a
* metadata read
*/
if (dio->boundary)
else if (dio->boundary)
dio_bio_submit(dio);
}

Expand Down

0 comments on commit ba61e93

Please sign in to comment.