missing unlock in jfs_quota_write()
authorDan Carpenter <error27@gmail.com>
Tue, 7 Apr 2009 11:48:16 +0000 (14:48 +0300)
committerDave Kleikamp <shaggy@linux.vnet.ibm.com>
Tue, 7 Apr 2009 13:19:45 +0000 (08:19 -0500)
commit9c83633ad38138855181af6936e8ac570ef7e2cb
treec9f0bd8139aafe3d1db50c457a520aeaff9ec7f6
parentd508afb437daee7cf07da085b635c44a4ebf9b38
missing unlock in jfs_quota_write()

We should unlock &inode->i_mutex on the error path.  This bug was
in ext2_quota_write().  I sent a patch to them today as well.

Found by smatch (http://repo.or.cz/w/smatch.git).  Compile tested.

regards,
dan carpenter

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Dave Kleikamp <shaggy@linux.vnet.ibm.com>
fs/jfs/super.c