f2fs: introduce IS_F2FS_IPU_* macro
authorYangtao Li <frank.li@vivo.com>
Fri, 18 Nov 2022 19:18:39 +0000 (03:18 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 6 Jan 2023 23:13:41 +0000 (15:13 -0800)
commitfdb7ccc3f9cb316c399b072c7a75a106678eb421
tree57349896f734142df8e93159d7920345a02537d8
parentfdbf69a7f5be2896af3a9a6213fb0ab8e194b190
f2fs: introduce IS_F2FS_IPU_* macro

IS_F2FS_IPU_* macro can be used to identify whether
f2fs ipu related policies are enabled.

BTW, convert to use BIT() instead of open code.

Signed-off-by: Yangtao Li <frank.li@vivo.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c
fs/f2fs/segment.c
fs/f2fs/segment.h
fs/f2fs/super.c