mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 00:02:07 +07:00
staging: erofs: inline erofs_inode_is_data_compressed()
As a helper in erofs_fs.h, erofs_inode_is_data_compressed() should be inlined. Signed-off-by: Gao Xiang <gaoxiang25@huawei.com> Reviewed-by: Chao Yu <yuchao0@huawei.com> Link: https://lore.kernel.org/r/20190813023054.73126-1-gaoxiang25@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
31664caaf4
commit
3d2969fac6
@ -62,7 +62,7 @@ enum {
|
||||
EROFS_INODE_LAYOUT_MAX
|
||||
};
|
||||
|
||||
static bool erofs_inode_is_data_compressed(unsigned int datamode)
|
||||
static inline bool erofs_inode_is_data_compressed(unsigned int datamode)
|
||||
{
|
||||
if (datamode == EROFS_INODE_FLAT_COMPRESSION)
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user