]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Nov 2013 03:01:48 +0000 (12:01 +0900)
commit20b2a1eb2de54d0fce4dee198546cc448589dad8
tree46fa8e5282020453e9cefe42f8bef7d5c1db2552
parent9fda0bdd950b09c42e26cc7e19590ce62e842fee
jfs: fix error path in ialloc

commit 8660998608cfa1077e560034db81885af8e1e885 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/jfs/jfs_inode.c