Skip to contentSkip to conversation

fscache: add missing unlock

PATCH New David Howells 1 participant 1 message Mar 23, 2010 Kernel janitors

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fscache: add missing unlock

From: Dan Carpenter <[email protected]>

Sparse complained about this missing spin_unlock()

---

 fs/fscache/page.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
fs/fscache/page.c +1 -0
index c598ea4..6980902 100644
@@ -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);