mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "J.A. Magallon" <jamagallon@able.es>
To: Greg KH <gregkh@suse.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [RFC] Patch series to remove devfs [00/22]
Date: Sun, 12 Jun 2005 22:44:33 +0000	[thread overview]
Message-ID: <1118616273l.18059l.0l@werewolf.able.es> (raw)
In-Reply-To: <20050611074327.GA27785@kroah.com> (from gregkh@suse.de on Sat Jun 11 09:43:27 2005)


On 06.11, Greg KH wrote:
> As everyone knows[1], devfs is going to be removed from the kernel soon.
> To accomplish this, here is a series of patches (22 in all) that do just
> that.  Surprisingly enough, devfs was almost everywhere in the kernel,
> that's why it takes so many patches :)
> 

You missed this for -mm, do not know if they apply to mainline:

--- linux-2.6.11-jam25/drivers/scsi/ch.c.orig	2005-06-13 00:40:58.000000000 +0200
+++ linux-2.6.11-jam25/drivers/scsi/ch.c	2005-06-13 00:41:16.000000000 +0200
@@ -20,7 +20,6 @@
 #include <linux/interrupt.h>
 #include <linux/blkdev.h>
 #include <linux/completion.h>
-#include <linux/devfs_fs_kernel.h>
 #include <linux/ioctl32.h>
 #include <linux/compat.h>
 #include <linux/chio.h>			/* here are all the ioctls */
@@ -940,8 +939,6 @@
 	if (init)
 		ch_init_elem(ch);
 
-	devfs_mk_cdev(MKDEV(SCSI_CHANGER_MAJOR,ch->minor),
-		      S_IFCHR | S_IRUGO | S_IWUGO, ch->name);
 	class_device_create(ch_sysfs_class,
 			    MKDEV(SCSI_CHANGER_MAJOR,ch->minor),
 			    dev, "s%s", ch->name);
@@ -974,7 +971,6 @@
 
 	class_device_destroy(ch_sysfs_class,
 			     MKDEV(SCSI_CHANGER_MAJOR,ch->minor));
-	devfs_remove(ch->name);
 	kfree(ch->dt);
 	kfree(ch);
 	ch_devcount--;
--- linux-2.6.11-jam25/drivers/scsi/arcmsr/arcmsr.c.orig	2005-06-13 00:40:00.000000000 +0200
+++ linux-2.6.11-jam25/drivers/scsi/arcmsr/arcmsr.c	2005-06-13 00:40:33.000000000 +0200
@@ -101,7 +101,6 @@
 #include <linux/moduleparam.h>
 #include <linux/blkdev.h>
 #include <linux/timer.h>
-#include <linux/devfs_fs_kernel.h>
 #include <linux/mc146818rtc.h>
 #include <linux/reboot.h>
 #include <linux/sched.h>
@@ -1654,7 +1653,6 @@
 **	int                     attached;		            %% # of high level drivers attached to this %%
 **	int                     access_count;	            %% Count of open channels/mounts %%
 **	void                    *hostdata;		            %% available to low-level driver %%
-**	devfs_handle_t          de;                         %% directory for the device %%
 **	char                    type;
 **	char                    scsi_level;
 **	char                    vendor[8], model[16], rev[4];


--
J.A. Magallon <jamagallon()able!es>     \               Software is like sex:
werewolf!able!es                         \         It's better when it's free
Mandriva Linux release 2006.0 (Cooker) for i586
Linux 2.6.11-jam24 (gcc 4.0.0 (4.0.0-3mdk for Mandriva Linux release 2006.0))



  parent reply	other threads:[~2005-06-12 22:45 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-11  7:43 Greg KH
2005-06-11 10:21 ` Adrian Bunk
2005-06-11 14:39   ` Greg KH
2005-06-11 15:36     ` Adrian Bunk
2005-06-11 15:41       ` Christoph Hellwig
2005-06-11 15:59         ` Adrian Bunk
2005-06-11 15:44       ` Kay Sievers
2005-06-11 20:14 ` [2.6 patch] fix compile errors and warning after devfs removal patches Adrian Bunk
2005-06-16 21:34   ` Greg KH
2005-06-12 22:44 ` J.A. Magallon [this message]
2005-06-13 17:43   ` [RFC] Patch series to remove devfs [00/22] Greg KH
2005-06-13 19:51     ` J.A. Magallon

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=1118616273l.18059l.0l@werewolf.able.es \
    --to=jamagallon@able.es \
    --cc=gregkh@suse.de \
    --cc=linux-kernel@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

all inboxes | Powered by JetHome®