DebugFS : file/directory creation error handling
authorMathieu Desnoyers <compudj@krystal.dyndns.org>
Fri, 24 Nov 2006 18:48:19 +0000 (13:48 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 13 Dec 2006 23:38:45 +0000 (15:38 -0800)
commit63223a0654c2a473ae64835819b87826cb7415ee
tree8c8d74c7bb4cd9b9f538d4701d92b2e6a3cca496
parentbafb232ec42aa6862798236009e8e5233d05ab36
DebugFS : file/directory creation error handling

Fix error handling of file and directory creation in DebugFS.

The error path should release the file system because no _remove will be called
for this erroneous creation.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/debugfs/inode.c