summaryrefslogtreecommitdiff
path: root/include/linux/fwnode_mdio.h
diff options
context:
space:
mode:
authorXiuhong Wang <xiuhong.wang@unisoc.com>2024-03-06 11:47:45 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2024-03-12 18:25:17 -0700
commitb7d797d241c154d73ec5523f87f3b06d4f299da1 (patch)
tree412a063a02a8813b81e9165b1ecdf95fffbab2d5 /include/linux/fwnode_mdio.h
parentf238eff95f485b9e8a1b1a8d4602e8e9d0ae331d (diff)
f2fs: compress: relocate some judgments in f2fs_reserve_compress_blocks
The following f2fs_io test will get a "0" result instead of -EINVAL, unisoc # ./f2fs_io compress file unisoc # ./f2fs_io reserve_cblocks file 0 it's not reasonable, so the judgement of atomic_read(&F2FS_I(inode)->i_compr_blocks) should be placed after the judgement of is_inode_flag_set(inode, FI_COMPRESS_RELEASED). Fixes: c75488fb4d82 ("f2fs: introduce F2FS_IOC_RESERVE_COMPRESS_BLOCKS") Signed-off-by: Xiuhong Wang <xiuhong.wang@unisoc.com> Signed-off-by: Zhiguo Niu <zhiguo.niu@unisoc.com> Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'include/linux/fwnode_mdio.h')
0 files changed, 0 insertions, 0 deletions