ext4: introduce ext4_sb_bread_unmovable() to replace sb_bread_unmovable()
authorzhangyi (F) <yi.zhang@huawei.com>
Thu, 24 Sep 2020 07:33:37 +0000 (15:33 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 18 Oct 2020 14:37:14 +0000 (10:37 -0400)
commit8394a6abf3aeaa02e30fd33c248adab9fbe6fd6c
treed545ef81682fc14a3890bec0e2b6bb636831d781
parent0a846f496db1d3996341e140364aa58563d1ebe1
ext4: introduce ext4_sb_bread_unmovable() to replace sb_bread_unmovable()

Now we only use sb_bread_unmovable() to read superblock and descriptor
block at mount time, so there is no opportunity that we need to clear
buffer verified bit and also handle buffer write_io error bit. But for
the sake of unification, let's introduce ext4_sb_bread_unmovable() to
replace all sb_bread_unmovable(). After this patch, we stop using read
helpers in fs/buffer.c.

Signed-off-by: zhangyi (F) <yi.zhang@huawei.com>
Link: https://lore.kernel.org/r/20200924073337.861472-8-yi.zhang@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/ext4.h
fs/ext4/super.c