each mount has unique client_owner

add the netroot name to the hash for generating its client_owner

Signed-off-by: Casey Bodley <cbodley@citi.umich.edu>
This commit is contained in:
Casey Bodley 2010-10-26 14:35:30 -04:00
parent f61bd10560
commit 4930e7caca
4 changed files with 13 additions and 2 deletions

View file

@ -63,7 +63,8 @@ int handle_mount(nfs41_upcall *upcall)
goto out;
}
// create root
status = nfs41_root_create(NFS41_MAX_FILEIO_SIZE + WRITE_OVERHEAD,
status = nfs41_root_create(args->hostname,
NFS41_MAX_FILEIO_SIZE + WRITE_OVERHEAD,
NFS41_MAX_FILEIO_SIZE + READ_OVERHEAD, &root);
if (status) {
eprintf("nfs41_rpc_clnt_create failed %d\n", status);