mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-02-24 00:43:23 -05:00
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:
@@ -334,7 +334,7 @@ struct mft_inode {
|
||||
|
||||
/* Nested class for ntfs_inode::ni_lock. */
|
||||
enum ntfs_inode_mutex_lock_class {
|
||||
NTFS_INODE_MUTEX_DIRTY,
|
||||
NTFS_INODE_MUTEX_DIRTY = 1,
|
||||
NTFS_INODE_MUTEX_SECURITY,
|
||||
NTFS_INODE_MUTEX_OBJID,
|
||||
NTFS_INODE_MUTEX_REPARSE,
|
||||
|
||||
Reference in New Issue
Block a user