max_path: make an abs_path for lookup on mount

in handle_mount(), the call to nfs41_lookup() requires a mutable nfs41_abs_path because it can change on referrals, so make a copy for it

removed unused fields in struct nfs41_root and related arguments to nfs41_root_create()

Signed-off-by: Casey Bodley <cbodley@citi.umich.edu>
This commit is contained in:
Casey Bodley 2010-10-12 10:06:01 -04:00
parent f727a1e4b4
commit 6d2b631080
3 changed files with 16 additions and 16 deletions

View file

@ -166,15 +166,11 @@ typedef struct __nfs41_root {
struct list_entry clients;
uint32_t wsize;
uint32_t rsize;
unsigned short port;
} nfs41_root;
/* nfs41_namespace.c */
int nfs41_root_create(
IN const char *hostname,
IN unsigned short port,
IN const char *path,
IN uint32_t wsize,
IN uint32_t rsize,
OUT nfs41_root **root_out);