staging: erofs: introduce erofs_grab_bio
authorGao Xiang <gaoxiang25@huawei.com>
Tue, 21 Aug 2018 14:49:29 +0000 (22:49 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Aug 2018 17:46:12 +0000 (19:46 +0200)
commit8be31270362b444a1f9d160aa5df9f147675b4a7
tree385e925025bd31e30b2b995fdcaa4b6b15ce95ec
parentcca5dd879075e95b706376123ea22231190aefe9
staging: erofs: introduce erofs_grab_bio

this patch renames prepare_bio to erofs_grab_bio, and
adds a nofail option in order to retry in the bio allocator
under memory pressure.

Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/erofs/data.c
drivers/staging/erofs/internal.h
drivers/staging/erofs/unzip_vle.c