]> Git Repo - linux.git/commit
erofs: use read_mapping_page instead of sb_bread
authorGao Xiang <[email protected]>
Wed, 4 Sep 2019 02:09:10 +0000 (10:09 +0800)
committerGreg Kroah-Hartman <[email protected]>
Thu, 5 Sep 2019 18:10:09 +0000 (20:10 +0200)
commitfe7c2423570dca4ffb9adc53225344ffd4a9f49a
tree411970f8276d246ecf177e4eabf642b22e51fa3a
parent4f761fa253b49f657de7ef6f695a124e08e56c3a
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[email protected]/
Reported-by: Christoph Hellwig <[email protected]>
Signed-off-by: Gao Xiang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
fs/erofs/super.c
This page took 0.052839 seconds and 4 git commands to generate.