diff options
| author | Richard Gooch <rgooch@atnf.csiro.au> | 2002-07-27 04:25:44 +0000 |
|---|---|---|
| committer | Richard Gooch <rgooch@atnf.csiro.au> | 2002-07-27 04:25:44 +0000 |
| commit | 0043c64dc37ed7a63afa8313772ab78c5cd654b4 (patch) | |
| tree | e3af82fff74ef325daf9bebe87400873f62bc00e /init | |
| parent | 771101bcaa5283fef243df99fb375fc3348ca5c4 (diff) | |
| parent | 5dcb5df17dff30d2905afccdedec1561e53dd7d4 (diff) | |
Merge atnf.csiro.au:/workaholix1/kernel/v2.5/linus
into atnf.csiro.au:/workaholix1/kernel/v2.5/rgooch-2.5
Diffstat (limited to 'init')
| -rw-r--r-- | init/do_mounts.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/init/do_mounts.c b/init/do_mounts.c index 393aa32da692..3633d3701b37 100644 --- a/init/do_mounts.c +++ b/init/do_mounts.c @@ -356,11 +356,12 @@ static int __init create_dev(char *name, dev_t dev, char *devfs_name) if (!do_devfs) return sys_mknod(name, S_IFBLK|0600, dev); - handle = devfs_find_handle(NULL, !dev ? devfs_name : NULL, - MAJOR(dev), MINOR(dev), DEVFS_SPECIAL_BLK, 1); + handle = devfs_get_handle(NULL, !dev ? devfs_name : NULL, + MAJOR(dev), MINOR(dev), DEVFS_SPECIAL_BLK, 1); if (!handle) return -1; n = devfs_generate_path(handle, path + 5, sizeof (path) - 5); + devfs_put(handle); if (n < 0) return -1; return sys_symlink(path + n + 5, name); |
