]> err.no Git - linux-2.6/commit
configfs: configfs_mkdir() failed to cleanup linkage.
authorJoel Becker <joel.becker@oracle.com>
Wed, 12 Apr 2006 04:37:20 +0000 (21:37 -0700)
committerMark Fasheh <mark.fasheh@oracle.com>
Wed, 17 May 2006 21:38:51 +0000 (14:38 -0700)
commiteed7a0db460595b139428d252798a83f1e1ce1d3
tree129db180cb8bac9810b6168802914c5ae2f619a3
parent84efad1a53dd05969094f9a2562b4e6666571c00
configfs: configfs_mkdir() failed to cleanup linkage.

If configfs_mkdir() errored in certain ways after the parent<->child
linkage was already created, it would not undo the linkage.  Also,
comment the reference counting for clarity.

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