linux-yocto/fs/ntfs3
Konstantin Komarov bd20733746 Revert "fs/ntfs3: Replace inode_trylock with inode_lock"
[ Upstream commit a49f0abd89 ]

This reverts commit 69505fe98f.

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: 69505fe98f ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-08-15 16:38:22 +02:00
..
lib Changes for 6.12-rc3 2024-10-08 10:53:06 -07:00
attrib.c fs/ntfs3: remove ability to change compression on mounted volume 2025-05-19 11:17:33 +02:00
attrlist.c fs/ntfs3: Remove unused al_delete_le 2024-10-01 12:19:05 +03:00
bitfunc.c
bitmap.c fs/ntfs3: Accumulated refactoring changes 2024-11-01 11:19:53 +03:00
debug.h
dir.c fs/ntfs3: Unify inode corruption marking with _ntfs_bad_inode() 2024-12-30 11:37:40 +03:00
file.c Revert "fs/ntfs3: Replace inode_trylock with inode_lock" 2025-08-15 16:38:22 +02:00
frecord.c fs/ntfs3: cancle set bad inode after removing name fails 2025-08-15 16:38:21 +02:00
fslog.c fs/ntfs3: Fix handling of InitializeFileRecordSegment 2025-05-16 16:26:07 +02:00
fsntfs.c fs/ntfs3: Remove unused ntfs_sb_read 2025-03-06 19:53:27 +03:00
index.c fs/ntfs3: handle hdr_first_de() return value 2025-04-28 12:17:08 +03:00
inode.c fs/ntfs3: Add missing direct_IO in ntfs_aops_cmpr 2025-04-28 12:17:09 +03:00
Kconfig ntfs3: serve as alias for the legacy ntfs driver 2024-04-16 10:45:26 +02:00
lznt.c fs/ntfs3: Check if more than chunk-size bytes are written 2024-09-03 16:58:39 +03:00
Makefile
namei.c fs/ntfs3: cancle set bad inode after removing name fails 2025-08-15 16:38:21 +02:00
ntfs_fs.h fs/ntfs3: cancle set bad inode after removing name fails 2025-08-15 16:38:21 +02:00
ntfs.h fs/ntfs3: Prevent integer overflow in hdr_first_de() 2025-03-06 19:53:26 +03:00
record.c fs/ntfs3: Mark inode as bad as soon as error detected in mi_enum_attr() 2024-12-30 11:37:39 +03:00
run.c fs/ntfs3: Accumulated refactoring changes 2024-11-01 11:19:53 +03:00
super.c fs/ntfs3: Fix 'proc_info_root' leak when init ntfs failed 2025-02-05 17:48:40 +03:00
upcase.c
xattr.c fs/ntfs3: Rename ntfs3_setattr into ntfs_setattr 2024-09-03 16:58:45 +03:00