Skip to contentSkip to conversation

put config info in db for netdev

PATCH Applied Kay Sievers 2 participants 2 messages Apr 2, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 put config info in db for netdev

Small change, to put the config informations for handled network interfaces into the database.

thanks,
Kay

===== namedev.c 1.138 vs edited =====

namedev.c +2 -2
@@ -850,13 +850,13 @@
 
 found:
 	apply_format(udev, udev->name, sizeof(udev->name), class_dev, sysfs_device);
+	strfieldcpy(udev->config_file, dev->config_file);
+	udev->config_line = dev->config_line;
 
 	if (udev->type == 'n')
 		goto done;
 
 	udev->partitions = dev->partitions;
-	strfieldcpy(udev->config_file, dev->config_file);
-	udev->config_line = dev->config_line;
 
 	/* get permissions given in rule */
 	set_empty_perms(udev, dev->mode,
Applied
#1 lore raw
Quoted 2 lines · Kay Sievers

Small change, to put the config informations for handled network interfaces into the database.

Applied, thanks.

greg k-h

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel