Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 1829
b: refs/heads/master
c: 854715b
h: refs/heads/master
i:
  1827: 054bdc2
v: v3
  • Loading branch information
Qu Fuping authored and Linus Torvalds committed Jun 5, 2005
1 parent 06e7ff5 commit 27e5a1b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: d3045064054a93d303094cfb96d980cc3c82a64c
refs/heads/master: 854715be73b221596c7127d4042e1120d4539e19
5 changes: 4 additions & 1 deletion trunk/fs/mpage.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,11 @@ static int mpage_end_io_write(struct bio *bio, unsigned int bytes_done, int err)
if (--bvec >= bio->bi_io_vec)
prefetchw(&bvec->bv_page->flags);

if (!uptodate)
if (!uptodate){
SetPageError(page);
if (page->mapping)
set_bit(AS_EIO, &page->mapping->flags);
}
end_page_writeback(page);
} while (bvec >= bio->bi_io_vec);
bio_put(bio);
Expand Down

0 comments on commit 27e5a1b

Please sign in to comment.