Commit bec8109f authored by Konstantin Komarov's avatar Konstantin Komarov Committed by Greg Kroah-Hartman
Browse files

Revert "fs/ntfs3: Replace inode_trylock with inode_lock"



[ Upstream commit a49f0abd ]

This reverts commit 69505fe9.

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: 69505fe9 ("fs/ntfs3: Replace inode_trylock with inode_lock")
Reported-by: default avatar <syzbot+a91fcdbd2698f99db8f4@syzkaller.appspotmail.com>
Suggested-by: default avatarLorenzo Stoakes <lorenzo.stoakes@oracle.com>
Signed-off-by: default avatarKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 14922f0c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment