[Linux-cachefs] [patch] fscache: add missing unlock
Dan Carpenter
error27 at gmail.com
Tue Mar 23 11:26:29 UTC 2010
Sparse complained about this missing spin_unlock()
Signed-off-by: Dan Carpenter <error27 at gmail.com>
diff --git a/fs/fscache/page.c b/fs/fscache/page.c
index c598ea4..6980902 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);
More information about the Linux-cachefs
mailing list