fix leak in __logfs_create()
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 4 Jul 2010 08:23:11 +0000 (12:23 +0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 9 Aug 2010 20:47:28 +0000 (16:47 -0400)
commit256249584bda1a9357e2d29987a37f5b2df035f6
tree266fa8425efb96dcb484e7fceb3a2d68610a1ba1
parent0e4f6a791b1e8cfde75a74e2f885642ecb3fe9d8
fix leak in __logfs_create()

if kmalloc fails, we still need to drop the inode, as we do
on other failure exits.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/logfs/dir.c