driver: change error code for rename, link with RootDirectory
http://msdn.microsoft.com/en-us/library/cc232085%28v=prot.10%29.aspx : "STATUS_INVALID_PARAMETER: An invalid parameter was passed for FileName or FileNameLength, or the target file was open, or the RootDirectory field value was nonzero for a network operation." as network filesystems are not expected to support this, return STATUS_INVALID_PARAMETER instead of STATUS_NOT_SUPPORTED Signed-off-by: Casey Bodley <cbodley@citi.umich.edu>
This commit is contained in:
parent
e83d36544f
commit
092c39d9d6
1 changed files with 2 additions and 2 deletions
|
|
@ -5089,7 +5089,7 @@ NTSTATUS nfs41_SetFileInformation(
|
|||
goto out;
|
||||
}
|
||||
if (rinfo->RootDirectory) {
|
||||
status = STATUS_NOT_SUPPORTED;
|
||||
status = STATUS_INVALID_PARAMETER;
|
||||
goto out;
|
||||
}
|
||||
nfs41_fcb->Flags = 0;
|
||||
|
|
@ -5109,7 +5109,7 @@ NTSTATUS nfs41_SetFileInformation(
|
|||
goto out;
|
||||
}
|
||||
if (linfo->RootDirectory) {
|
||||
status = STATUS_NOT_SUPPORTED;
|
||||
status = STATUS_INVALID_PARAMETER;
|
||||
goto out;
|
||||
}
|
||||
nfs41_fcb->Flags = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue