erofs: kill __submit_bio()
authorGao Xiang <gaoxiang25@huawei.com>
Wed, 4 Sep 2019 02:09:04 +0000 (10:09 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Sep 2019 18:10:08 +0000 (20:10 +0200)
commit94e4e153b1c25a49b4953c424e6e2f66efb449f3
tree1904226e84247a6742391a0a47702cc8cfc3d264
parente655b5b3a29c5a16056f13854ac3db5b39c0b804
erofs: kill __submit_bio()

As Christoph pointed out [1], "
Why is there __submit_bio which really just obsfucates
what is going on?  Also why is __submit_bio using
bio_set_op_attrs instead of opencode it as the comment
right next to it asks you to? "

Let's use submit_bio directly instead.

[1] https://lore.kernel.org/r/20190830162812.GA10694@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-18-gaoxiang25@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/erofs/data.c
fs/erofs/internal.h
fs/erofs/zdata.c