projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af21bfa
)
buffer: use mapping_set_error instead of setting the flag
author
Jeff Layton
<jlayton@redhat.com>
Thu, 6 Jul 2017 11:02:20 +0000
(07:02 -0400)
committer
Jeff Layton
<jlayton@redhat.com>
Thu, 6 Jul 2017 11:02:20 +0000
(07:02 -0400)
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Matthew Wilcox <mawilcox@microsoft.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/buffer.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/buffer.c
b/fs/buffer.c
index 161be58c5cb0f738754b79d87eda879aa3bb9553..4be8b914a222546f7122ac4d5c992506138ae827 100644
(file)
--- a/
fs/buffer.c
+++ b/
fs/buffer.c
@@
-482,7
+482,7
@@
static void __remove_assoc_queue(struct buffer_head *bh)
list_del_init(&bh->b_assoc_buffers);
WARN_ON(!bh->b_assoc_map);
if (buffer_write_io_error(bh))
-
set_bit(AS_EIO, &bh->b_assoc_map->flags
);
+
mapping_set_error(bh->b_assoc_map, -EIO
);
bh->b_assoc_map = NULL;
}