mirror of
https://gitee.com/openharmony/kernel_linux
synced 2025-02-05 01:40:58 +00:00
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>
This commit is contained in:
parent
054c636e5c
commit
f4edce1afd
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user