Re: [PATCH] ext4: Call ext4_journal_stop(handle) only once in ext4_dio_write_iter()
From: Theodore Ts'o
Date: Thu Oct 31 2024 - 10:34:22 EST
On Wed, 25 Sep 2024 21:54:18 +0200, Markus Elfring wrote:
> 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.
>
>
> [...]
Applied, thanks!
[1/1] ext4: Call ext4_journal_stop(handle) only once in ext4_dio_write_iter()
commit: d431a2cd28e8b7a91474d496e9226ef06a31c6eb
Best regards,
--
Theodore Ts'o <tytso@xxxxxxx>