staging: erofs: introduce MNGD_MAPPING helper
authorGao Xiang <gaoxiang25@huawei.com>
Fri, 7 Dec 2018 16:19:13 +0000 (00:19 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Dec 2018 16:10:48 +0000 (17:10 +0100)
commitc1448fa88025872502c3f7bf2cf7365deb25bb1b
treee80c0fbb6fe88ee6800596cf6f0fbf1883f0f394
parent848bd9acdcd00c164b42b14aacec242949ecd471
staging: erofs: introduce MNGD_MAPPING helper

This patch introduces MNGD_MAPPING to wrap up
sbi->managed_cache->i_mapping, which will be used
to solve too many #ifdefs in a single function.

No logic changes.

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/internal.h
drivers/staging/erofs/unzip_vle.c