Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;