mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: syzbot <syzbot+2cc28770f99213896a7c@syzkaller.appspotmail.com>
To: daiky0325@gmail.com
Cc: daiky0325@gmail.com, linux-kernel@vger.kernel.org,
	 syzkaller-bugs@googlegroups.com
Subject: Re: [PATCH]  ext4: submit pending IO before restarting handle in data=journal writeback
Date: Mon, 30 Nov 2026 19:47:31 -0800	[thread overview]
Message-ID: <6b0e4353.8e3793c5.1bab8b.1357.GAE@google.com> (raw)
In-Reply-To: <20261201034724.362378-1-daiky0325@gmail.com>

> #syz test: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 3fdeb5ad9354455794a2d024207affaa2f4eb790

Patch testing via #syz test is temporarily disabled.
See https://github.com/google/syzkaller/issues/8122 for details.

>
> Signed-off-by: Daiki Harada <daiky0325@gmail.com>
> ---
>  fs/ext4/inode.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
> index ce99807c5f5b..7c0994896114 100644
> --- a/fs/ext4/inode.c
> +++ b/fs/ext4/inode.c
> @@ -2680,8 +2680,8 @@ static int mpage_prepare_extent_to_map(struct mpage_da_data *mpd)
>  				goto out;
>  
>  			if (handle) {
> -				err = ext4_journal_ensure_credits(handle, bpp,
> -								  0);
> +				err = ext4_journal_ensure_credits_fn(handle, bpp, bpp,
> +							0, (ext4_io_submit(&mpd->io_submit), 0));
>  				if (err < 0)
>  					goto out;
>  			}
> -- 
> 2.56.1
>

           reply	other threads:[~2026-12-01  3:47 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20261201034724.362378-1-daiky0325@gmail.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6b0e4353.8e3793c5.1bab8b.1357.GAE@google.com \
    --to=syzbot+2cc28770f99213896a7c@syzkaller.appspotmail.com \
    --cc=daiky0325@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=syzkaller-bugs@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®