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:
parent
f727a1e4b4
commit
6d2b631080
3 changed files with 16 additions and 16 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue