projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fs: use mapping_set_error instead of opencoded set_bit
[cascardo/linux.git]
/
fs
/
ext4
/
page-io.c
diff --git
a/fs/ext4/page-io.c
b/fs/ext4/page-io.c
index
b4cbee9
..
0094923
100644
(file)
--- a/
fs/ext4/page-io.c
+++ b/
fs/ext4/page-io.c
@@
-88,7
+88,7
@@
static void ext4_finish_bio(struct bio *bio)
if (bio->bi_error) {
SetPageError(page);
-
set_bit(AS_EIO, &page->mapping->flags
);
+
mapping_set_error(page->mapping, -EIO
);
}
bh = head = page_buffers(page);
/*