patch-2.4.0-test3 linux/fs/partitions/check.c
Next file: linux/fs/partitions/msdos.c
Previous file: linux/fs/partitions/Config.in
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Sun Jul 9 22:21:41 2000
- Orig file:
v2.4.0-test2/linux/fs/partitions/check.c
- Orig date:
Fri Jun 23 21:55:10 2000
diff -u --recursive --new-file v2.4.0-test2/linux/fs/partitions/check.c linux/fs/partitions/check.c
@@ -31,6 +31,7 @@
#include "sgi.h"
#include "sun.h"
#include "ibm.h"
+#include "ultrix.h"
extern void device_init(void);
extern void md_run_setup(void);
@@ -341,13 +342,13 @@
else {
/* Unaware driver: construct "real" directory */
sprintf (dirname, "../%s/disc%d", dev->major_name, devnum);
- dir = devfs_mk_dir (NULL, dirname + 3, 0, NULL);
+ dir = devfs_mk_dir (NULL, dirname + 3, NULL);
}
if (!devfs_handle)
- devfs_handle = devfs_mk_dir (NULL, "discs", 5, NULL);
+ devfs_handle = devfs_mk_dir (NULL, "discs", NULL);
sprintf (symlink, "disc%u", disc_counter++);
- devfs_mk_symlink (devfs_handle, symlink, 0, DEVFS_FL_DEFAULT,
- dirname + pos, 0, &slave, NULL);
+ devfs_mk_symlink (devfs_handle, symlink, DEVFS_FL_DEFAULT,
+ dirname + pos, &slave, NULL);
dev->part[minor].de =
devfs_register (dir, "disc", devfs_flags, dev->major, minor,
S_IFBLK | S_IRUSR | S_IWUSR, dev->fops, NULL);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)