summaryrefslogtreecommitdiffstats
path: root/include/linux/nfs_fs_sb.h
blob: bfdba35b45d624fd0b9d95fb6e9e39fabab1f110 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef _NFS_FS_SB
#define _NFS_FS_SB

#include <linux/rpcsock.h>
#include <linux/nfs.h>

struct nfs_server {
	struct file *file;
	struct rpc_sock *rsock;
	struct sockaddr toaddr ;  /* Added for change to NFS code to use sendto()  1995-06-02  JSP */
	int lock;
	struct wait_queue *wait;
	int flags;
	int rsize;
	int wsize;
	int timeo;
	int retrans;
	int acregmin;
	int acregmax;
	int acdirmin;
	int acdirmax;
	char hostname[256];
};

/*
 * nfs super-block data in memory
 */

struct nfs_sb_info {
	struct nfs_server s_server;
	struct nfs_fh s_root;
};

#endif