Commit 1147d0f9 authored by Dan Carpenter's avatar Dan Carpenter Committed by Linus Torvalds

fscache: add missing unlock

Sparse complained about this missing spin_unlock()
Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 34c1c460
......@@ -881,6 +881,7 @@ int __fscache_write_page(struct fscache_cookie *cookie,
goto nobufs;
nobufs_unlock_obj:
spin_unlock(&cookie->stores_lock);
spin_unlock(&object->lock);
nobufs:
spin_unlock(&cookie->lock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment