[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <12568445451759@kroah.org>
Date: Thu, 29 Oct 2009 12:29:05 -0700
From: <gregkh@...e.de>
To: kay.sievers@...y.org, gregkh@...e.de, greg@...ah.com,
linux-kernel@...r.kernel.org
Subject: patch driver-core-devtmpfs-cleanup-node-on-device-creation-error.patch added to gregkh-2.6 tree
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@...y.org Thu Oct 29 12:01:25 2009
From: Kay Sievers <kay.sievers@...y.org>
Date: Wed, 28 Oct 2009 19:51:37 +0100
Subject: Driver Core: devtmpfs: cleanup node on device creation error
To: Greg KH <greg@...ah.com>
Cc: linux-kernel <linux-kernel@...r.kernel.org>
Message-ID: <1256755897.2618.324.camel@....site>
From: Kay Sievers <kay.sievers@...y.org>
Signed-off-by: Kay Sievers <kay.sievers@...y.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@...e.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))
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists