All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chao Yu via Linux-f2fs-devel <linux-f2fs-devel@lists.sourceforge.net>
To: Wentao Liang <vulab@iscas.ac.cn>, jaegeuk@kernel.org
Cc: "linux-f2fs-devel@lists.sourceforge.net"
	<linux-f2fs-devel@lists.sourceforge.net>
Subject: Re: [f2fs-dev] [PATCH] f2fs: log the inline-data inode before dropping its reference
Date: Wed, 11 Nov 2026 16:24:48 +0800	[thread overview]
Message-ID: <233616a7-798e-4229-97e4-0919cc61fc40@kernel.org> (raw)
In-Reply-To: <20261104030757.1537720-1-vulab@iscas.ac.cn>

+Cc f2fs mailing list

On 11/4/26 11:07, Wentao Liang wrote:
> gc_data_segment() calls iput() and then formats inode->i_ino into the
> error message.  If that was the last reference, the inode has been
> evicted and the inode number is read from freed memory.
> 
> Move the message ahead of iput() so it is emitted while the inode is
> still pinned.
> 
> Fixes: fc01008c92f4 ("f2fs: fix to do sanity check on F2FS_INLINE_DATA flag in inode during GC")
> Cc: stable@vger.kernel.org
> Assisted-by: DeepSeek-V4.1-Flash and OpenAI Codex
> Signed-off-by: Wentao Liang <vulab@iscas.ac.cn>
Reviewed-by: Chao Yu <chao@kernel.org>

Thanks,


_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

       reply	other threads:[~2026-11-11  8:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20261104030757.1537720-1-vulab@iscas.ac.cn>
2026-11-11  8:24 ` Chao Yu via Linux-f2fs-devel [this message]
2026-12-01  4:25   ` [f2fs-dev] [PATCH] f2fs: log the inline-data inode before dropping its reference Chao Yu via Linux-f2fs-devel
2026-12-03 22:27     ` Jaegeuk Kim via Linux-f2fs-devel

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=233616a7-798e-4229-97e4-0919cc61fc40@kernel.org \
    --to=linux-f2fs-devel@lists.sourceforge.net \
    --cc=chao@kernel.org \
    --cc=jaegeuk@kernel.org \
    --cc=vulab@iscas.ac.cn \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.