* Driver-Core: devtmpfs - cleanup node on device creation error
@ 2009-10-28 18:51 Kay Sievers
2009-10-29 19:29 ` patch driver-core-devtmpfs-cleanup-node-on-device-creation-error.patch added to gregkh-2.6 tree gregkh
0 siblings, 1 reply; 2+ messages in thread
From: Kay Sievers @ 2009-10-28 18:51 UTC (permalink / raw)
To: Greg KH; +Cc: linux-kernel
From: Kay Sievers <kay.sievers@vrfy.org>
Subject: Driver-Core: devtmpfs - cleanup node on device creation error
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
---
drivers/base/core.c | 2 ++
1 file changed, 2 insertions(+)
--- a/drivers/base/core.c
+++ b/drivers/base/core.c
@@ -987,6 +987,8 @@ done:
device_remove_class_symlinks(dev);
SymlinkError:
if (MAJOR(dev->devt))
+ devtmpfs_delete_node(dev);
+ if (MAJOR(dev->devt))
device_remove_sys_dev_entry(dev);
devtattrError:
if (MAJOR(dev->devt))
^ permalink raw reply [flat|nested] 2+ messages in thread
* patch driver-core-devtmpfs-cleanup-node-on-device-creation-error.patch added to gregkh-2.6 tree
2009-10-28 18:51 Driver-Core: devtmpfs - cleanup node on device creation error Kay Sievers
@ 2009-10-29 19:29 ` gregkh
0 siblings, 0 replies; 2+ messages in thread
From: gregkh @ 2009-10-29 19:29 UTC (permalink / raw)
To: kay.sievers, gregkh, greg, linux-kernel
This is a note to let you know that I've just added the patch titled
Subject: Driver Core: devtmpfs: cleanup node on device creation error
to my gregkh-2.6 tree. Its filename is
driver-core-devtmpfs-cleanup-node-on-device-creation-error.patch
This tree can be found at
http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/
>From kay.sievers@vrfy.org Thu Oct 29 12:01:25 2009
From: Kay Sievers <kay.sievers@vrfy.org>
Date: Wed, 28 Oct 2009 19:51:37 +0100
Subject: Driver Core: devtmpfs: cleanup node on device creation error
To: Greg KH <greg@kroah.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Message-ID: <1256755897.2618.324.camel@yio.site>
From: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/base/core.c | 2 ++
1 file changed, 2 insertions(+)
--- a/drivers/base/core.c
+++ b/drivers/base/core.c
@@ -987,6 +987,8 @@ done:
device_remove_class_symlinks(dev);
SymlinkError:
if (MAJOR(dev->devt))
+ devtmpfs_delete_node(dev);
+ if (MAJOR(dev->devt))
device_remove_sys_dev_entry(dev);
devtattrError:
if (MAJOR(dev->devt))
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-10-29 19:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-28 18:51 Driver-Core: devtmpfs - cleanup node on device creation error Kay Sievers
2009-10-29 19:29 ` patch driver-core-devtmpfs-cleanup-node-on-device-creation-error.patch added to gregkh-2.6 tree gregkh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox