aboutsummaryrefslogtreecommitdiffstats
path: root/fs/notify/inode_mark.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/notify/inode_mark.c')
-rw-r--r--fs/notify/inode_mark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/notify/inode_mark.c b/fs/notify/inode_mark.c
index 455cb41c729b..37b460f302b7 100644
--- a/fs/notify/inode_mark.c
+++ b/fs/notify/inode_mark.c
@@ -187,7 +187,7 @@ int fsnotify_add_inode_mark(struct fsnotify_mark *mark,
187 struct hlist_node *node, *last = NULL; 187 struct hlist_node *node, *last = NULL;
188 int ret = 0; 188 int ret = 0;
189 189
190 mark->flags = FSNOTIFY_MARK_FLAG_INODE; 190 mark->flags |= FSNOTIFY_MARK_FLAG_INODE;
191 191
192 assert_spin_locked(&mark->lock); 192 assert_spin_locked(&mark->lock);
193 assert_spin_locked(&group->mark_lock); 193 assert_spin_locked(&group->mark_lock);