patch-2.1.45 linux/fs/nfs/nfsroot.c
Next file: linux/fs/nfs/read.c
Previous file: linux/fs/nfs/inode.c
Back to the patch index
Back to the overall index
- Lines: 55
- Date:
Wed Jul 16 20:37:21 1997
- Orig file:
v2.1.44/linux/fs/nfs/nfsroot.c
- Orig date:
Mon Jun 16 16:35:58 1997
diff -u --recursive --new-file v2.1.44/linux/fs/nfs/nfsroot.c linux/fs/nfs/nfsroot.c
@@ -1,5 +1,5 @@
/*
- * $Id: nfsroot.c,v 1.37 1997/06/04 08:28:10 davem Exp $
+ * $Id: nfsroot.c,v 1.38 1997/07/17 03:21:06 davem Exp $
*
* Copyright (C) 1995, 1996 Gero Kuhlmann <gero@gkminix.han.de>
*
@@ -78,7 +78,6 @@
#include <asm/param.h>
#include <linux/utsname.h>
-#include <linux/nametrans.h>
#include <linux/in.h>
#include <linux/if.h>
#include <linux/inet.h>
@@ -833,9 +832,6 @@
root_bootp_string(nfs_path, ext+1, *ext, NFS_MAXPATHLEN);
break;
}
-#ifdef CONFIG_TRANS_NAMES
- translations_dirty = 1;
-#endif
}
@@ -1258,9 +1254,6 @@
system_utsname.domainname[0] = '\0';
user_dev_name[0] = '\0';
bootp_flag = rarp_flag = 1;
-#ifdef CONFIG_TRANS_NAMES
- translations_dirty = 1;
-#endif
/* The following is just a shortcut for automatic IP configuration */
if (!strcmp(addrs, "bootp")) {
@@ -1306,9 +1299,6 @@
}
strncpy(system_utsname.nodename, ip, __NEW_UTS_LEN);
system_utsname.nodename[__NEW_UTS_LEN] = '\0';
-#ifdef CONFIG_TRANS_NAMES
- translations_dirty = 1;
-#endif
break;
case 5:
strncpy(user_dev_name, ip, IFNAMSIZ);
@@ -1342,9 +1332,6 @@
if (!system_utsname.nodename[0]) {
strncpy(system_utsname.nodename, in_ntoa(myaddr), __NEW_UTS_LEN);
system_utsname.nodename[__NEW_UTS_LEN] = '\0';
-#ifdef CONFIG_TRANS_NAMES
- translations_dirty = 1;
-#endif
}
/* Set the correct netmask */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov