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
This commit is contained in:
Konstantin Komarov 2024-08-19 16:26:22 +03:00
parent ffe718c992
commit 5b2db72345
No known key found for this signature in database
GPG Key ID: A9B0331F832407B6

View File

@ -334,7 +334,7 @@ struct mft_inode {
/* Nested class for ntfs_inode::ni_lock. */ /* Nested class for ntfs_inode::ni_lock. */
enum ntfs_inode_mutex_lock_class { enum ntfs_inode_mutex_lock_class {
NTFS_INODE_MUTEX_DIRTY, NTFS_INODE_MUTEX_DIRTY = 1,
NTFS_INODE_MUTEX_SECURITY, NTFS_INODE_MUTEX_SECURITY,
NTFS_INODE_MUTEX_OBJID, NTFS_INODE_MUTEX_OBJID,
NTFS_INODE_MUTEX_REPARSE, NTFS_INODE_MUTEX_REPARSE,