mount: propagate errors back to nfs_mount
nfs41_np.c: NPAddConnection3() was overwriting status=WN_BAD_NETNAME on any errors from DeviceIoControl() nfs41_driver.c: GetConnectionHandle() was only returning the handle, and throwing away the return value from ZwCreateFile() map_mount_errors() was missing a mapping from ERROR_BAD_NET_NAME to STATUS_BAD_NETWORK_NAME Signed-off-by: Casey Bodley <cbodley@citi.umich.edu>
This commit is contained in:
parent
a2375b78ac
commit
3d053740c3
2 changed files with 12 additions and 17 deletions
|
|
@ -524,7 +524,6 @@ NPAddConnection3(
|
|||
NULL, &CopyBytes );
|
||||
if (Status) {
|
||||
DbgP(( L"[aglo] SendTo_NFS41Driver failed with %d\n", Status));
|
||||
Status = WN_BAD_NETNAME;
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue