f2fs: fix to check inline_data during compressed inode conversion
authorChao Yu <chao@kernel.org>
Tue, 12 Jul 2022 03:17:15 +0000 (11:17 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Sun, 31 Jul 2022 03:17:06 +0000 (20:17 -0700)
commit7165841d578e0592848e09dc9d131aa30be44e1b
tree96ac18c7596c7dfca5eb24e151d4c8fd56203d54
parent1dd55358efc4f74e49fa9e1e97a03804852a4c20
f2fs: fix to check inline_data during compressed inode conversion

When converting inode to compressed one via ioctl, it needs to check
inline_data, since inline_data flag and compressed flag are incompatible.

Fixes: 4c8ff7095bef ("f2fs: support data compression")
Signed-off-by: Chao Yu <chao.yu@oppo.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/f2fs.h