summaryrefslogtreecommitdiff
path: root/fs/notify
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2017-04-21 13:52:20 +0300
committerJan Kara <jack@suse.cz>2017-04-24 16:41:28 +0200
commitf4edce1afd537327012189c1481ad66260b195ff (patch)
tree0bf7fa24c22925e0838ce099337576ffb640cd75 /fs/notify
parent054c636e5c8054884ede889be82ce059879945e6 (diff)
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 <dan.carpenter@oracle.com> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/notify')
-rw-r--r--fs/notify/mark.c1
1 files changed, 0 insertions, 1 deletions
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;