patch-2.1.34 linux/include/linux/nfs.h
Next file: linux/include/linux/nfs_fs.h
Previous file: linux/include/linux/netdevice.h
Back to the patch index
Back to the overall index
- Lines: 28
- Date:
Mon Apr 14 09:31:10 1997
- Orig file:
v2.1.33/linux/include/linux/nfs.h
- Orig date:
Mon Apr 7 11:35:31 1997
diff -u --recursive --new-file v2.1.33/linux/include/linux/nfs.h linux/include/linux/nfs.h
@@ -84,6 +84,15 @@
#define NFSPROC_READDIR 16
#define NFSPROC_STATFS 17
+/* Mount support for NFSroot */
+#ifdef __KERNEL__
+#define NFS_MNT_PROGRAM 100005
+#define NFS_MNT_VERSION 1
+#define NFS_MNT_PORT 627
+#define NFS_MNTPROC_MNT 1
+#define NFS_MNTPROC_UMNT 3
+#endif
+
#if defined(__KERNEL__) || defined(NFS_NEED_KERNEL_TYPES)
extern struct rpc_program nfs_program;
@@ -123,9 +132,9 @@
struct nfs_entry {
__u32 fileid;
char * name;
- unsigned int length;
+ unsigned int length:31,
+ eof:1;
__u32 cookie;
- __u32 eof;
};
struct nfs_fsinfo {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov