From: Dan Carpenter Date: Fri, 21 Apr 2017 10:52:20 +0000 (+0300) Subject: fsnotify: remove a stray unlock X-Git-Tag: v4.12-rc1~118^2~1 X-Git-Url: http://git.samba.org/samba.git/?p=sfrench%2Fcifs-2.6.git;a=commitdiff_plain;h=f4edce1afd537327012189c1481ad66260b195ff fsnotify: remove a stray unlock We recently shifted this code around, so we're no longer holding the lock on this path. Fixes: 755b5bc681eb ("fsnotify: Remove indirection from mark list addition") Signed-off-by: Dan Carpenter Signed-off-by: Jan Kara --- diff --git a/fs/notify/mark.c b/fs/notify/mark.c index 55955ded338d..9991f8826734 100644 --- a/fs/notify/mark.c +++ b/fs/notify/mark.c @@ -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;