summaryrefslogtreecommitdiffstats
path: root/fs/fscache
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-03-23 15:48:37 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2010-03-25 00:49:21 +0100
commit1147d0f915e3b4c5c4fa279dae2c40016b8f441d (patch)
tree384638a14a7ce81d422790bbe1314d97c047e90d /fs/fscache
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lrg... (diff)
downloadlinux-1147d0f915e3b4c5c4fa279dae2c40016b8f441d.tar.xz
linux-1147d0f915e3b4c5c4fa279dae2c40016b8f441d.zip
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/fscache')
-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 c598ea4c4e7d..69809024d71d 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);