Driver-Core: devtmpfs - cleanup node on device creation error
From: Kay Sievers <[email protected]>
Subject: Driver-Core: devtmpfs - cleanup node on device creation error
--- drivers/base/core.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/base/core.c +2 -0
@@ -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))
[email protected]
Appliedpatch 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/
Quoted 1 line
From [email protected] Thu Oct 29 12:01:25 2009
From: Kay Sievers <[email protected]>
Date: Wed, 28 Oct 2009 19:51:37 +0100
Subject: Driver Core: devtmpfs: cleanup node on device creation error
To: Greg KH <[email protected]>
Cc: linux-kernel <[email protected]>
Message-ID: <[email protected]>
From: Kay Sievers <[email protected]>
--- drivers/base/core.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/base/core.c +2 -0
@@ -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))