]> git.baikalelectronics.ru Git - kernel.git/commit
erofs: kill prio and nofail of erofs_get_meta_page()
authorGao Xiang <gaoxiang25@huawei.com>
Wed, 4 Sep 2019 02:09:03 +0000 (10:09 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Sep 2019 18:10:08 +0000 (20:10 +0200)
commite2762b076148633f5557e8fc8f8ae4e9b11d7a76
tree24f3d9243dd9acb179cb82a7cd627b2608f18153
parent8ac77fe2c12fd3ef9ce83d11b3d7308c51462a32
erofs: kill prio and nofail of erofs_get_meta_page()

As Christoph pointed out [1],
"Why is there __erofs_get_meta_page with the two weird
booleans instead of a single erofs_get_meta_page that
gets and gfp_t for additional flags and an unsigned int
for additional bio op flags."

And since all callers can handle errors, let's kill
prio and nofail and erofs_get_inline_page() now.

[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-17-gaoxiang25@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/erofs/data.c
fs/erofs/inode.c
fs/erofs/internal.h
fs/erofs/xattr.c
fs/erofs/zmap.c