aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorHyeong-Jun Kim <[email protected]>2021-10-27 04:16:00 +0000
committerJaegeuk Kim <[email protected]>2021-10-27 22:32:29 +0000
commit02d58cd253d7536c412993573fc6b3b4454960eb (patch)
treef122c1f09c84804714e5f160b8cdc18c6a54b5f1 /drivers/fpga/fpga-bridge.c
parentf2fs: compress: fix overwrite may reduce compress ratio unproperly (diff)
downloadkernel-02d58cd253d7536c412993573fc6b3b4454960eb.tar.gz
kernel-02d58cd253d7536c412993573fc6b3b4454960eb.zip
f2fs: compress: disallow disabling compress on non-empty compressed file
Compresse file and normal file has differ in i_addr addressing, specifically addrs per inode/block. So, we will face data loss, if we disable the compression flag on non-empty files. Therefore we should disallow not only enabling but disabling the compression flag on non-empty files. Fixes: 4c8ff7095bef ("f2fs: support data compression") Signed-off-by: Sungjong Seo <[email protected]> Signed-off-by: Hyeong-Jun Kim <[email protected]> Reviewed-by: Chao Yu <[email protected]> Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions