]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7e9fef6f3a3966ad5c83f3d6828a302bf9a1633a
treeeb5beb0eacebbaebbb0936886e32c062b3007388
parent13a4fc12aad5426b312e5f93d06a9b89b5156390
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