summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Zoffoli <xmerlin@gentoo.org>2008-11-21 22:45:38 +0000
committerChristian Zoffoli <xmerlin@gentoo.org>2008-11-21 22:45:38 +0000
commit03b01a61dba48c219d3e3dc2a95dc6d9417f922b (patch)
tree0cbe8c563a158d839ab910e00aa5aa91934366e0 /sys-cluster/gnbd-kernel/files/gnbd-kernel-remove-devfs-support.patch
parentBlock dev-lang/mercury. Closes #247070. (diff)
downloadgentoo-2-03b01a61dba48c219d3e3dc2a95dc6d9417f922b.tar.gz
gentoo-2-03b01a61dba48c219d3e3dc2a95dc6d9417f922b.tar.bz2
gentoo-2-03b01a61dba48c219d3e3dc2a95dc6d9417f922b.zip
Ebuild cleanup, version bump, fixed homepage
(Portage version: 2.1.4.4)
Diffstat (limited to 'sys-cluster/gnbd-kernel/files/gnbd-kernel-remove-devfs-support.patch')
-rw-r--r--sys-cluster/gnbd-kernel/files/gnbd-kernel-remove-devfs-support.patch43
1 files changed, 0 insertions, 43 deletions
diff --git a/sys-cluster/gnbd-kernel/files/gnbd-kernel-remove-devfs-support.patch b/sys-cluster/gnbd-kernel/files/gnbd-kernel-remove-devfs-support.patch
deleted file mode 100644
index be105ea7a495..000000000000
--- a/sys-cluster/gnbd-kernel/files/gnbd-kernel-remove-devfs-support.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-diff -uNr cluster-1.03.00.orig/gnbd-kernel/src/gnbd.c cluster-1.03.00/gnbd-kernel/src/gnbd.c
---- cluster-1.03.00.orig/gnbd-kernel/src/gnbd.c 2006-07-12 19:34:29.000000000 +0200
-+++ cluster-1.03.00/gnbd-kernel/src/gnbd.c 2007-03-03 01:18:40.000000000 +0100
-@@ -30,7 +30,6 @@
- #include <linux/buffer_head.h>
- #include <linux/miscdevice.h>
- #include <linux/moduleparam.h>
--#include <linux/devfs_fs_kernel.h>
-
- #include <asm/uaccess.h>
- #include <asm/types.h>
-@@ -845,7 +844,6 @@
- {
- .minor = MISC_DYNAMIC_MINOR,
- .name = "gnbd_ctl",
-- .devfs_name = "gnbd_ctl",
- .fops = &_gnbd_ctl_fops
- };
-
-@@ -926,7 +924,6 @@
- printk(KERN_INFO "gnbd: registered device at major %d\n", major_nr);
- dprintk(DBG_INIT, "gnbd: debugflags=0x%x\n", debugflags);
-
-- devfs_mk_dir("gnbd_minor");
- err = class_register(&gnbd_class);
- if (err)
- goto out_unregister;
-@@ -982,7 +979,6 @@
- disk->fops = &gnbd_fops;
- disk->private_data = &gnbd_dev[i];
- sprintf(disk->disk_name, "gnbd%d", i);
-- sprintf(disk->devfs_name, "gnbd_minor/%d", i);
- set_capacity(disk, 0);
- add_disk(disk);
- if(sysfs_create_link(&gnbd_dev[i].class_dev.kobj,
-@@ -1036,7 +1032,6 @@
- kfree(gnbd_dev[i].server_name);
- }
- class_unregister(&gnbd_class);
-- devfs_remove("gnbd");
- unregister_blkdev(major_nr, "gnbd");
- printk(KERN_INFO "gnbd: unregistered device at major %d\n", major_nr);
- }