aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/fast_commit.c
diff options
context:
space:
mode:
authorMarkus Elfring <[email protected]>2024-09-25 19:47:39 +0000
committerTheodore Ts'o <[email protected]>2024-10-30 21:42:44 +0000
commitd431a2cd28e8b7a91474d496e9226ef06a31c6eb (patch)
tree33835699b3c0b2b02bd9366875fa319b9725c091 /fs/ext4/fast_commit.c
parentLinux 6.12-rc4 (diff)
downloadkernel-d431a2cd28e8b7a91474d496e9226ef06a31c6eb.tar.gz
kernel-d431a2cd28e8b7a91474d496e9226ef06a31c6eb.zip
ext4: Call ext4_journal_stop(handle) only once in ext4_dio_write_iter()
An ext4_journal_stop(handle) call was immediately used after a return value check for a ext4_orphan_add() call in this function implementation. Thus call such a function only once instead directly before the check. This issue was transformed by using the Coccinelle software. Signed-off-by: Markus Elfring <[email protected]> Reviewed-by: Zhang Yi <[email protected]> Reviewed-by: Jan Kara <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions