jfs: Add missing mutex_unlock call to error path
[safe/jmp/linux-2.6] / fs / jfs / jfs_imap.c
index 3460572..0fc3040 100644 (file)
@@ -2571,6 +2571,7 @@ diNewIAG(struct inomap * imap, int *iagnop, int agno, struct metapage ** mpp)
 
                        txAbort(tid, 0);
                        txEnd(tid);
+                       mutex_unlock(&JFS_IP(ipimap)->commit_mutex);
 
                        /* release the inode map lock */
                        IWRITE_UNLOCK(ipimap);