fscache: add missing unlock
authorDan Carpenter <error27@gmail.com>
Tue, 23 Mar 2010 14:48:37 +0000 (14:48 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 24 Mar 2010 23:49:21 +0000 (16:49 -0700)
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>
fs/fscache/page.c

index c598ea4c4e7d580d9046e1cb8ccb42e1d14db6c6..69809024d71d951d9fbac1ee951dfefc83a299b2 100644 (file)
@@ -881,6 +881,7 @@ submit_failed:
        goto nobufs;
 
 nobufs_unlock_obj:
+       spin_unlock(&cookie->stores_lock);
        spin_unlock(&object->lock);
 nobufs:
        spin_unlock(&cookie->lock);