Re: [syzbot] [bcachefs?] possible deadlock in bch2_symlink

Al Viro <[email protected]>
Newsgroups org.kernel.vger.linux-bcachefs,org.kernel.vger.linux-kernel,org.kernel.vger.linux-unionfs
Message-ID <20250804032312.GX222315@ZenIV>
On Mon, Aug 04, 2025 at 11:02:54AM +0800, Alan Huang wrote:
> +cc overlayfs

Sigh...

1) ovl_copy_up_workdir() should lock wdir with I_MUTEX_PARENT, same
as filename_create().

2) what the hell is bch2_symlink() need to lock the new inode for?
page_symlink() doesn't need that; are there any bcachefs-specific reasons
to bother with that?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.