projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46cf053
)
ext4: treat buffers contining write errors as valid in ext4_sb_bread()
author
Theodore Ts'o
<tytso@mit.edu>
Sat, 14 Dec 2019 21:42:52 +0000
(16:42 -0500)
committer
Theodore Ts'o
<tytso@mit.edu>
Mon, 23 Dec 2019 04:57:08 +0000
(23:57 -0500)
In commit
7963e5ac9012
("ext4: treat buffers with write errors as
containing valid data") we missed changing ext4_sb_bread() to use
ext4_buffer_uptodate(). So fix this oversight.
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/super.c
patch
|
blob
|
history
diff --git
a/fs/ext4/super.c
b/fs/ext4/super.c
index
2937a88
..
c3d66bb
100644
(file)
--- a/
fs/ext4/super.c
+++ b/
fs/ext4/super.c
@@
-154,7
+154,7
@@
ext4_sb_bread(struct super_block *sb, sector_t block, int op_flags)
if (bh == NULL)
return ERR_PTR(-ENOMEM);
- if (buffer_uptodate(bh))
+ if (
ext4_
buffer_uptodate(bh))
return bh;
ll_rw_block(REQ_OP_READ, REQ_META | op_flags, 1, &bh);
wait_on_buffer(bh);