diff options
author | Roland McGrath <roland@gnu.org> | 2000-02-04 03:21:18 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2000-02-04 03:21:18 +0000 |
commit | 9fd51e9b0ad33a89a83fdbbb66bd20d85f7893fb (patch) | |
tree | 8845b79f170028cb4380045c50277bbf075b5b7d /pfinet/linux-src/include/linux/nfs_fs_sb.h | |
download | hurd-9fd51e9b0ad33a89a83fdbbb66bd20d85f7893fb.tar.gz hurd-9fd51e9b0ad33a89a83fdbbb66bd20d85f7893fb.tar.bz2 hurd-9fd51e9b0ad33a89a83fdbbb66bd20d85f7893fb.zip |
Import of Linux 2.2.12 subset (ipv4 stack and related)
Diffstat (limited to 'pfinet/linux-src/include/linux/nfs_fs_sb.h')
-rw-r--r-- | pfinet/linux-src/include/linux/nfs_fs_sb.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pfinet/linux-src/include/linux/nfs_fs_sb.h b/pfinet/linux-src/include/linux/nfs_fs_sb.h new file mode 100644 index 00000000..343455ec --- /dev/null +++ b/pfinet/linux-src/include/linux/nfs_fs_sb.h @@ -0,0 +1,31 @@ +#ifndef _NFS_FS_SB +#define _NFS_FS_SB + +#include <linux/nfs.h> +#include <linux/in.h> + +/* + * NFS client parameters stored in the superblock. + */ +struct nfs_server { + struct rpc_clnt * client; /* RPC client handle */ + int flags; /* various flags */ + int rsize; /* read size */ + int wsize; /* write size */ + unsigned int bsize; /* server block size */ + unsigned int acregmin; /* attr cache timeouts */ + unsigned int acregmax; + unsigned int acdirmin; + unsigned int acdirmax; + char * hostname; /* remote hostname */ +}; + +/* + * nfs super-block data in memory + */ +struct nfs_sb_info { + struct nfs_server s_server; + struct nfs_fh s_root; +}; + +#endif |