Commit 70d1b9fe authored by Jaegeuk Kim's avatar Jaegeuk Kim Committed by Todd Kjos
Browse files

BACKPORT: f2fs: do not set compression bit if kernel doesn't support



If kernel doesn't have CONFIG_F2FS_FS_COMPRESSION, a file having FS_COMPR_FL via
ioctl(FS_IOC_SETFLAGS) is unaccessible due to f2fs_is_compress_backend_ready().
Let's avoid it.

Bug: 228919347
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
(cherry picked from commit 816857d2)
Change-Id: I6a85f18de1b0a98ea009e0295cd213e692db3aad
parent 66a0472a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment