Skip to contentSkip to conversation

fscache: add missing unlock

PATCH New Dan Carpenter 1 participant 1 message Mar 23, 2010 Kernel janitors

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fscache: add missing unlock

Sparse complained about this missing spin_unlock()

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);