aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Komarov <[email protected]>2024-08-19 16:26:22 +0300
committerKonstantin Komarov <[email protected]>2024-09-03 16:58:41 +0300
commit5b2db723455a89dc96743d34d8bdaa23a402db2f (patch)
tree449da8bd5a855d7db2272fe17e1253c468b86582
parentffe718c9924eb7e4ce062dd383cf5fea7f02f180 (diff)
fs/ntfs3: Fix warning possible deadlock in ntfs_set_state
Use non-zero subkey to skip analyzer warnings. Signed-off-by: Konstantin Komarov <[email protected]> Reported-by: [email protected]
-rw-r--r--fs/ntfs3/ntfs_fs.h2
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,