configfs: Fix a reference leak in configfs_mkdir().
authorJoel Becker <joel.becker@oracle.com>
Tue, 28 Mar 2006 02:46:09 +0000 (18:46 -0800)
committerMark Fasheh <mark.fasheh@oracle.com>
Wed, 17 May 2006 21:38:50 +0000 (14:38 -0700)
commit84efad1a53dd05969094f9a2562b4e6666571c00
tree15ddfe0250f5d59d56e989cd89c682096139c1f5
parentafae00ab45ea71d89086f924ebee6ca51c81e48e
configfs: Fix a reference leak in configfs_mkdir().

configfs_mkdir() failed to release the working parent reference in most
exit paths.  Also changed the exit path for readability.

Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/configfs/dir.c