fscache: add missing unlock

Sparse complained about this missing spin_unlock()

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Dan Carpenter 2010-03-23 14:48:37 +00:00 committed by Linus Torvalds
parent 34c1c460f8
commit 1147d0f915
1 changed files with 1 additions and 0 deletions

View File

@ -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);