diff options
| author | Alexander Viro <viro@math.psu.edu> | 2002-06-11 00:55:44 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-06-11 00:55:44 -0700 |
| commit | 334c8b07f4e6ec3280022bf226c814c2c1c1b330 (patch) | |
| tree | 6dc4bd1f2a2fa79444ef346947d5a8b6be4df83d /fs | |
| parent | 92ca434dc41a32983059730d3682567fd9b034c4 (diff) | |
[PATCH] (7/14) resync
ROOT_DEV converted to dev_t. There's no reason for it to be kdev_t -
it's both used as a number and set as a number.
Diffstat (limited to 'fs')
| -rw-r--r-- | fs/nfs/nfsroot.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/nfs/nfsroot.c b/fs/nfs/nfsroot.c index 304adb937eb0..8a5171ac14a4 100644 --- a/fs/nfs/nfsroot.c +++ b/fs/nfs/nfsroot.c @@ -81,6 +81,7 @@ #include <linux/major.h> #include <linux/utsname.h> #include <linux/inet.h> +#include <linux/root_dev.h> #include <net/ipconfig.h> /* Define this to allow debugging output */ @@ -335,7 +336,7 @@ int __init root_nfs_init(void) */ int __init nfs_root_setup(char *line) { - ROOT_DEV = mk_kdev(UNNAMED_MAJOR, 255); + ROOT_DEV = Root_NFS; if (line[0] == '/' || line[0] == ',' || (line[0] >= '0' && line[0] <= '9')) { strncpy(nfs_root_name, line, sizeof(nfs_root_name)); nfs_root_name[sizeof(nfs_root_name)-1] = '\0'; |
