]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/9p/client.c
Merge git://git.infradead.org/mtd-2.6
[linux-2.6-omap-h63xx.git] / net / 9p / client.c
index bbac2f72b4d27c00e8692ee10760b3f5fa56d9b8..67717f69412e47c182f34715291ec83c979d6f73 100644 (file)
@@ -159,6 +159,7 @@ static struct p9_req_t *p9_tag_alloc(struct p9_client *c, u16 tag)
 
                        if (!c->reqs[row]) {
                                printk(KERN_ERR "Couldn't grow tag array\n");
+                               spin_unlock_irqrestore(&c->lock, flags);
                                return ERR_PTR(-ENOMEM);
                        }
                        for (col = 0; col < P9_ROW_MAXTAG; col++) {