linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kay Sievers <kay.sievers@vrfy.org>
To: linux-hotplug@vger.kernel.org
Subject: [PATCH] put config info in db for netdev
Date: Fri, 02 Apr 2004 09:33:09 +0000	[thread overview]
Message-ID: <20040402093309.GC16642@vrfy.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 108 bytes --]

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

thanks,
Kay

[-- Attachment #2: 03-netdev-db.patch --]
[-- Type: text/plain, Size: 580 bytes --]

===== namedev.c 1.138 vs edited =====
--- 1.138/namedev.c	Sun Mar 28 21:35:32 2004
+++ edited/namedev.c	Fri Apr  2 09:55:14 2004
@@ -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,

             reply	other threads:[~2004-04-02  9:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-02  9:33 Kay Sievers [this message]
2004-04-02 17:11 ` [PATCH] put config info in db for netdev Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040402093309.GC16642@vrfy.org \
    --to=kay.sievers@vrfy.org \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).