staging: erofs: move stagingpage operations to compress.h
commit274812334b46de51fc905dc030215e69cfcafd17
authorGao Xiang <gaoxiang25@huawei.com>
Mon, 24 Jun 2019 07:22:54 +0000 (24 15:22 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Jun 2019 01:44:39 +0000 (26 09:44 +0800)
tree5191b5f86e7a4eda39fcb8d1afe854d0794d1925
parentfa61a33f53760aa3b9b4f2a4196fc55b58b28394
staging: erofs: move stagingpage operations to compress.h

stagingpages are behaved as bounce pages for temporary use.
Move to compress.h since the upcoming decompressor will
allocate stagingpages as well.

Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/erofs/compress.h [new file with mode: 0644]
drivers/staging/erofs/unzip_vle.c
drivers/staging/erofs/unzip_vle.h