Commit f4edce1a authored by Dan Carpenter's avatar Dan Carpenter Committed by Jan Kara

fsnotify: remove a stray unlock

We recently shifted this code around, so we're no longer holding the
lock on this path.

Fixes: 755b5bc6 ("fsnotify: Remove indirection from mark list addition")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent 054c636e
......@@ -603,7 +603,6 @@ int fsnotify_add_mark_locked(struct fsnotify_mark *mark, struct inode *inode,
FSNOTIFY_MARK_FLAG_ATTACHED);
list_del_init(&mark->g_list);
atomic_dec(&group->num_marks);
spin_unlock(&mark->lock);
fsnotify_put_mark(mark);
return ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment