]> git.karo-electronics.de Git - karo-tx-linux.git/commit
jfs: fix error path in ialloc
authorDave Kleikamp <dave.kleikamp@oracle.com>
Sat, 7 Sep 2013 02:49:56 +0000 (21:49 -0500)
committerDave Kleikamp <dave.kleikamp@oracle.com>
Sat, 7 Sep 2013 02:49:56 +0000 (21:49 -0500)
commita0263d82ad101ad1916a427c28000a1cbd4d6ba4
treee4b7e7dc0fa1806a9241f1bb7eb9f386391d0960
parent44598f98b98e54beca34dc836b38eaea40be1abf
jfs: fix error path in ialloc

If insert_inode_locked() fails, we shouldn't be calling
unlock_new_inode().

Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Tested-by: Michael L. Semon <mlsemon35@gmail.com>
fs/jfs/jfs_inode.c