diff options
author | Gao Xiang <gaoxiang25@huawei.com> | 2019-09-04 04:09:10 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-09-05 20:10:09 +0200 |
commit | fe7c2423570dca4ffb9adc53225344ffd4a9f49a (patch) | |
tree | 411970f8276d246ecf177e4eabf642b22e51fa3a /fs/erofs/inode.c | |
parent | erofs: rename errln/infoln/debugln to erofs_{err, info, dbg} (diff) | |
download | linux-fe7c2423570dca4ffb9adc53225344ffd4a9f49a.tar.xz linux-fe7c2423570dca4ffb9adc53225344ffd4a9f49a.zip |
erofs: use read_mapping_page instead of sb_bread
As Christoph said [1], "This seems to be your only direct
use of buffer heads, which while not deprecated are a bit
of an ugly step child. So if you can easily avoid creating
a buffer_head dependency in a new filesystem I think you
should avoid it. "
[1] https://lore.kernel.org/r/20190902125109.GA9826@infradead.org/
Reported-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
Link: https://lore.kernel.org/r/20190904020912.63925-24-gaoxiang25@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/erofs/inode.c')
0 files changed, 0 insertions, 0 deletions