]> www.infradead.org Git - users/jedix/linux-maple.git/commit
f2fs: allow to set compression for inlined file
authorJaegeuk Kim <jaegeuk@kernel.org>
Mon, 24 Oct 2022 23:00:35 +0000 (16:00 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 Dec 2022 12:32:31 +0000 (13:32 +0100)
commit734e2cf3ee29dbc8d6a27341fa2c5c681c29d1d6
tree9d59dab12cb02b47ddc9ca45dcdb7a7984ed374f
parentfa2e65c1b1c6d0369e20b295d68cada1d25bc5a1
f2fs: allow to set compression for inlined file

[ Upstream commit a995627e6dd81d4485d40ce64880017a080d71e6 ]

The below commit disallows to set compression on empty created file which
has a inline_data. Let's fix it.

Fixes: 7165841d578e ("f2fs: fix to check inline_data during compressed inode conversion")
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/f2fs/file.c