Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 69221
b: refs/heads/master
c: 6b18eaa
h: refs/heads/master
i:
  69219: bf32a6d
v: v3
  • Loading branch information
\"Talpey, Thomas\ authored and Trond Myklebust committed Oct 9, 2007
1 parent e65ed84 commit 7ddbced
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 32 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4417c8c41a51a2ae95b2a2fa2811640b368c4151
refs/heads/master: 6b18eaa0821a559c5e2b7ed4b90f8aca5a8e6228
33 changes: 33 additions & 0 deletions trunk/fs/nfs/internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,39 @@ struct nfs_clone_mount {
rpc_authflavor_t authflavor;
};

/*
* In-kernel mount arguments
*/
struct nfs_parsed_mount_data {
int flags;
int rsize, wsize;
int timeo, retrans;
int acregmin, acregmax,
acdirmin, acdirmax;
int namlen;
unsigned int bsize;
unsigned int auth_flavor_len;
rpc_authflavor_t auth_flavors[1];
char *client_address;

struct {
struct sockaddr_in address;
char *hostname;
unsigned int program;
unsigned int version;
unsigned short port;
int protocol;
} mount_server;

struct {
struct sockaddr_in address;
char *hostname;
char *export_path;
unsigned int program;
int protocol;
} nfs_server;
};

/* client.c */
extern struct rpc_program nfs_program;

Expand Down
31 changes: 0 additions & 31 deletions trunk/fs/nfs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,37 +58,6 @@

#define NFSDBG_FACILITY NFSDBG_VFS


struct nfs_parsed_mount_data {
int flags;
int rsize, wsize;
int timeo, retrans;
int acregmin, acregmax,
acdirmin, acdirmax;
int namlen;
unsigned int bsize;
unsigned int auth_flavor_len;
rpc_authflavor_t auth_flavors[1];
char *client_address;

struct {
struct sockaddr_in address;
char *hostname;
unsigned int program;
unsigned int version;
unsigned short port;
int protocol;
} mount_server;

struct {
struct sockaddr_in address;
char *hostname;
char *export_path;
unsigned int program;
int protocol;
} nfs_server;
};

enum {
/* Mount options that take no arguments */
Opt_soft, Opt_hard,
Expand Down

0 comments on commit 7ddbced

Please sign in to comment.