Re: [f2fs-dev] [PATCH] f2fs: fix deadlock in f2f2_add_dentry

From: Lizhi Xu
Date: Fri Aug 25 2023 - 23:00:05 EST


On Fri, 25 Aug 2023 18:41:38, chao@xxxxxxxxxx wrote:
> Can you please check below patch? it has fixed reported issue.
>
> https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git/commit/?h=dev&id=5c13e2388bf3426fd69a89eb46e50469e9624e56
>
> Feedback from syzbot:
>
> https://lore.kernel.org/linux-f2fs-devel/0000000000001ba17a0603b5871e@xxxxxxxxxx/
This fix uses nest lock to avoid deadlocks, which I personally believe is feasible.