mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 10:00:17 +00: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. */
|
/* 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,
|
||||||
|
|||||||
Reference in New Issue
Block a user