diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-04-21 13:52:20 +0300 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2017-04-24 16:41:28 +0200 |
commit | f4edce1afd537327012189c1481ad66260b195ff (patch) | |
tree | 0bf7fa24c22925e0838ce099337576ffb640cd75 /fs/notify | |
parent | 054c636e5c8054884ede889be82ce059879945e6 (diff) | |
download | op-kernel-dev-f4edce1afd537327012189c1481ad66260b195ff.zip op-kernel-dev-f4edce1afd537327012189c1481ad66260b195ff.tar.gz |
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.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/notify/mark.c b/fs/notify/mark.c index 55955de..9991f88 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; |