summaryrefslogtreecommitdiffstats
path: root/drivers/clk/clk-versaclock5.c
diff options
context:
space:
mode:
authorChao Yu <chao@kernel.org>2024-01-22 03:23:13 +0100
committerJaegeuk Kim <jaegeuk@kernel.org>2024-02-06 03:58:40 +0100
commit2f9420d3a94aeebd92db88f00f4f2f1a3bd3f6cf (patch)
tree13975cd92e10863100a223ec2358a8e8d94ed20e /drivers/clk/clk-versaclock5.c
parentf2fs: use f2fs_err_ratelimited() to avoid redundant logs (diff)
downloadlinux-2f9420d3a94aeebd92db88f00f4f2f1a3bd3f6cf.tar.xz
linux-2f9420d3a94aeebd92db88f00f4f2f1a3bd3f6cf.zip
f2fs: compress: fix to cover f2fs_disable_compressed_file() w/ i_sem
- f2fs_disable_compressed_file - check inode_has_data - f2fs_file_mmap - mkwrite - f2fs_get_block_locked : update metadata in compressed inode's disk layout - fi->i_flags &= ~F2FS_COMPR_FL - clear_inode_flag(inode, FI_COMPRESSED_FILE); we should use i_sem lock to prevent above race case. Fixes: 4c8ff7095bef ("f2fs: support data compression") Signed-off-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'drivers/clk/clk-versaclock5.c')
0 files changed, 0 insertions, 0 deletions