aboutsummaryrefslogtreecommitdiff
path: root/fs/erofs/internal.h
diff options
context:
space:
mode:
authorGravatar Hongzhen Luo <hongzhen@linux.alibaba.com> 2024-05-17 17:56:52 +0800
committerGravatar Gao Xiang <hsiangkao@linux.alibaba.com> 2024-05-18 01:42:18 +0800
commitc34110e0fdfddc22b7fd606ca81303d20330bacb (patch)
tree824c90ba546e917c217eec6c54be9166a3fb379b /fs/erofs/internal.h
parentMerge branch 'misc.erofs' of git://git.kernel.org/pub/scm/linux/kernel/git/vi... (diff)
downloadlinux-c34110e0fdfddc22b7fd606ca81303d20330bacb.tar.gz
linux-c34110e0fdfddc22b7fd606ca81303d20330bacb.tar.bz2
linux-c34110e0fdfddc22b7fd606ca81303d20330bacb.zip
erofs: clean up erofs_show_options()
Avoid unnecessary #ifdefs and simplify the code a bit. Signed-off-by: Hongzhen Luo <hongzhen@linux.alibaba.com> Link: https://lore.kernel.org/r/20240517095652.2282972-1-hongzhen@linux.alibaba.com Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com> Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Diffstat (limited to 'fs/erofs/internal.h')
-rw-r--r--fs/erofs/internal.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/erofs/internal.h b/fs/erofs/internal.h
index 00bbb288c08c..c5254dc1f965 100644
--- a/fs/erofs/internal.h
+++ b/fs/erofs/internal.h
@@ -64,15 +64,12 @@ enum {
};
struct erofs_mount_opts {
-#ifdef CONFIG_EROFS_FS_ZIP
/* current strategy of how to use managed cache */
unsigned char cache_strategy;
/* strategy of sync decompression (0 - auto, 1 - force on, 2 - force off) */
unsigned int sync_decompress;
-
/* threshold for decompression synchronously */
unsigned int max_sync_decompress_pages;
-#endif
unsigned int mount_opt;
};