]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Revert "fs/ntfs3: Replace inode_trylock with inode_lock"
authorKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Fri, 4 Jul 2025 13:11:32 +0000 (15:11 +0200)
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Tue, 8 Jul 2025 07:42:21 +0000 (09:42 +0200)
commita49f0abd8959048af18c6c690b065eb0d65b2d21
tree3400ea58e489d55f5f3cccd921917c631b0f1590
parent519b078998ce6e729f98dccf35505b4756985d11
Revert "fs/ntfs3: Replace inode_trylock with inode_lock"

This reverts commit 69505fe98f198ee813898cbcaf6770949636430b.

Initially, conditional lock acquisition was removed to fix an xfstest bug
that was observed during internal testing. The deadlock reported by syzbot
is resolved by reintroducing conditional acquisition. The xfstest bug no
longer occurs on kernel version 6.16-rc1 during internal testing. I
assume that changes in other modules may have contributed to this.

Fixes: 69505fe98f19 ("fs/ntfs3: Replace inode_trylock with inode_lock")
Reported-by: syzbot+a91fcdbd2698f99db8f4@syzkaller.appspotmail.com
Suggested-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
fs/ntfs3/file.c