diff options
author | Konstantin Komarov <almaz.alexandrovich@paragon-software.com> | 2024-08-19 16:26:22 +0300 |
---|---|---|
committer | Konstantin Komarov <almaz.alexandrovich@paragon-software.com> | 2024-09-03 16:58:41 +0300 |
commit | 5b2db723455a89dc96743d34d8bdaa23a402db2f (patch) | |
tree | 449da8bd5a855d7db2272fe17e1253c468b86582 /fs/ntfs3 | |
parent | ffe718c9924eb7e4ce062dd383cf5fea7f02f180 (diff) | |
download | linux-stable-5b2db723455a89dc96743d34d8bdaa23a402db2f.tar.gz linux-stable-5b2db723455a89dc96743d34d8bdaa23a402db2f.tar.bz2 linux-stable-5b2db723455a89dc96743d34d8bdaa23a402db2f.zip |
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
Diffstat (limited to 'fs/ntfs3')
-rw-r--r-- | fs/ntfs3/ntfs_fs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ntfs3/ntfs_fs.h b/fs/ntfs3/ntfs_fs.h index e5255a251929..79047cd54611 100644 --- a/fs/ntfs3/ntfs_fs.h +++ b/fs/ntfs3/ntfs_fs.h @@ -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, |