OSDN Git Service

f2fs: Kconfig: clean up config options about compression
authorTiezhu Yang <yangtiezhu@loongson.cn>
Thu, 5 Aug 2021 13:30:24 +0000 (21:30 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 5 Aug 2021 17:46:58 +0000 (10:46 -0700)
commit6b3ba1e77d8913ee6ffb3972e889bc35550ed95c
treeeb5beb0eacebbaebbb0936886e32c062b3007388
parentd4bf15a7ce172d186d400d606adf4f34a59130d6
f2fs: Kconfig: clean up config options about compression

In fs/f2fs/Kconfig, F2FS_FS_LZ4HC depends on F2FS_FS_LZ4 and F2FS_FS_LZ4
depends on F2FS_FS_COMPRESSION, so no need to make F2FS_FS_LZ4HC depends
on F2FS_FS_COMPRESSION explicitly, remove the redudant "depends on", do
the similar thing for F2FS_FS_LZORLE.

At the same time, it is better to move F2FS_FS_LZORLE next to F2FS_FS_LZO,
it looks like a little more clear when make menuconfig, the location of
"LZO-RLE compression support" is under "LZO compression support" instead
of "F2FS compression feature".

Without this patch:

F2FS compression feature
  LZO compression support
  LZ4 compression support
    LZ4HC compression support
  ZSTD compression support
  LZO-RLE compression support

With this patch:

F2FS compression feature
  LZO compression support
    LZO-RLE compression support
  LZ4 compression support
    LZ4HC compression support
  ZSTD compression support

Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/Kconfig