Skip to content

Commit 5b2db72

Browse files
fs/ntfs3: Fix warning possible deadlock in ntfs_set_state
Use non-zero subkey to skip analyzer warnings. Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com> Reported-by: syzbot+c2ada45c23d98d646118@syzkaller.appspotmail.com
1 parent ffe718c commit 5b2db72

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fs/ntfs3/ntfs_fs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ struct mft_inode {
334334

335335
/* Nested class for ntfs_inode::ni_lock. */
336336
enum ntfs_inode_mutex_lock_class {
337-
NTFS_INODE_MUTEX_DIRTY,
337+
NTFS_INODE_MUTEX_DIRTY = 1,
338338
NTFS_INODE_MUTEX_SECURITY,
339339
NTFS_INODE_MUTEX_OBJID,
340340
NTFS_INODE_MUTEX_REPARSE,

0 commit comments

Comments
 (0)