aboutsummaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-03-23 14:48:37 +0000
committerLinus Torvalds <torvalds@linux-foundation.org>2010-03-24 16:49:21 -0700
commit1147d0f915e3b4c5c4fa279dae2c40016b8f441d (patch)
tree384638a14a7ce81d422790bbe1314d97c047e90d /fs
parent34c1c460f82c809f20a2d378373d6aeb58c7808a (diff)
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>
Diffstat (limited to 'fs')
-rw-r--r--fs/fscache/page.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/fscache/page.c b/fs/fscache/page.c
index c598ea4c4e7..69809024d71 100644
--- a/fs/fscache/page.c
+++ b/fs/fscache/page.c
@@ -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);