]> git.proxmox.com Git - mirror_ubuntu-focal-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)
commite655b5b3a29c5a16056f13854ac3db5b39c0b804
tree24f3d9243dd9acb179cb82a7cd627b2608f18153
parenta5c0b7802cc9631e0dee67abd30c2f022621ae7c
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