File: nfs_fs_sb.h

package info (click to toggle)
kernel-source-2.0.38 2.0.38-3
  • links: PTS
  • area: main
  • in suites: potato
  • size: 34,660 kB
  • ctags: 102,964
  • sloc: ansic: 632,204; asm: 26,444; makefile: 4,286; sh: 1,276; perl: 761; tcl: 408; cpp: 277; lisp: 211; awk: 134
file content (34 lines) | stat: -rw-r--r-- 560 bytes parent folder | download | duplicates (14)
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