[PATCH] partitions/check.c on test2-pre10

From: Mr. White (mrwhite@arrakis.es)
Date: Thu Jun 22 2000 - 06:21:05 EST


        check.c uses old devfs_register interface.

--- linux/fs/partitions/check.c Thu Jun 22 13:17:28 2000
+++ linux-white/fs/partitions/check.c Thu Jun 22 13:09:54 2000
@@ -349,8 +349,8 @@
        devfs_mk_symlink (devfs_handle, symlink, 0, DEVFS_FL_DEFAULT,
                          dirname + pos, 0, &slave, NULL);
        dev->part[minor].de =
- devfs_register (dir, "disc", 4, devfs_flags, dev->major,
minor,
- S_IFBLK | S_IRUSR | S_IWUSR, 0, 0,
dev->fops,NULL);
+ devfs_register (dir, "disc", devfs_flags, dev->major, minor,
+ S_IFBLK | S_IRUSR | S_IWUSR,
dev->fops,NULL);
        devfs_auto_unregister (dev->part[minor].de, slave);
        if (!dev->de_arr)
                devfs_auto_unregister (slave, dir);

-- 
"Sendmail may be safely run set-user-id to root."
 Eric Allman, "Sendmail Installation Guide"

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jun 23 2000 - 21:00:23 EST