Skip to content
Snippets Groups Projects
Commit 5476b2ba authored by Theodore Ts'o's avatar Theodore Ts'o Committed by Yang Yingliang
Browse files

ext4: treat buffers contining write errors as valid in ext4_sb_bread()


mainline inclusion
from mainline-5.6-rc1
commit cf2834a5
category: bugfix
bugzilla: 51832
CVE: NA
---------------------------

In commit 7963e5ac ("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: default avatarTheodore Ts'o <tytso@mit.edu>

Conflicts:
	fs/ext4/super.c
[we include d9befeda("ext4: clear buffer verified flag if read meta
block from disk") first]

Signed-off-by: default avataryangerkun <yangerkun@huawei.com>
Reviewed-by: default avatarzhangyi (F) <yi.zhang@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 946dd60d
No related branches found
No related tags found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment