fsnotify: remove a stray unlock

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

Fixes: 755b5bc681 ("fsnotify: Remove indirection from mark list addition")
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
This commit is contained in:
Dan Carpenter 2017-04-21 13:52:20 +03:00 • committed by Jan Kara
commit f4edce1afd

View file

@ -603,7 +603,6 @@ err:
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;