aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorRitesh Harjani <[email protected]>2022-01-17 12:11:48 +0000
committerTheodore Ts'o <[email protected]>2022-02-03 15:57:30 +0000
commit09355d9d038a1590ee055831a4ad3a79952cfa8b (patch)
treecdad6d3a563cfafd57355e2a8f65564b29d07555 /fs/jbd2/commit.c
parentext4: fix error handling in ext4_restore_inline_data() (diff)
downloadkernel-09355d9d038a1590ee055831a4ad3a79952cfa8b.tar.gz
kernel-09355d9d038a1590ee055831a4ad3a79952cfa8b.zip
ext4: remove redundant max inline_size check in ext4_da_write_inline_data_begin()
ext4_prepare_inline_data() already checks for ext4_get_max_inline_size() and returns -ENOSPC. So there is no need to check it twice within ext4_da_write_inline_data_begin(). This patch removes the extra check. It also makes it more clean. No functionality change in this patch. Signed-off-by: Ritesh Harjani <[email protected]> Reviewed-by: Jan Kara <[email protected]> Link: https://lore.kernel.org/r/cdd1654128d5105550c65fd13ca5da53b2162cc4.1642416995.git.riteshh@linux.ibm.com Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions