aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fscache
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-03-23 10:48:37 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-03-24 19:49:21 -0400
commit1147d0f915e3b4c5c4fa279dae2c40016b8f441d (patch)
tree384638a14a7ce81d422790bbe1314d97c047e90d /fs/fscache
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/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 c598ea4c4e7..69809024d71 100644
--- a/fs/fscache/page.c
+++ b/fs/fscache/page.c
@@ -881,6 +881,7 @@ submit_failed:
881 goto nobufs; 881 goto nobufs;
882 882
883nobufs_unlock_obj: 883nobufs_unlock_obj:
884 spin_unlock(&cookie->stores_lock);
884 spin_unlock(&object->lock); 885 spin_unlock(&object->lock);
885nobufs: 886nobufs:
886 spin_unlock(&cookie->lock); 887 spin_unlock(&cookie->lock);