projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c83633
)
jfs: Add missing mutex_unlock call to error path
author
Dave Kleikamp
<
[email protected]
>
Sun, 24 May 2009 01:28:41 +0000
(20:28 -0500)
committer
Dave Kleikamp
<
[email protected]
>
Sun, 24 May 2009 01:28:41 +0000
(20:28 -0500)
Jan Kucera found an missing call to mutex_unlock() with his static code
checker. It's an unlikely error path to hit in the real world, but it
should be fixed.
Signed-off-by: Dave Kleikamp <
[email protected]
>
Reported-by: Jan Kucera <
[email protected]
>
fs/jfs/jfs_imap.c
patch
|
blob
|
history
diff --git
a/fs/jfs/jfs_imap.c
b/fs/jfs/jfs_imap.c
index 346057218edcdd440e1df24480264381c8101aa6..0fc30407f03912e98a41cadd345afb88282b36f0 100644
(file)
--- a/
fs/jfs/jfs_imap.c
+++ b/
fs/jfs/jfs_imap.c
@@
-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);