driver: link and rename print target filename
Signed-off-by: Casey Bodley <cbodley@citi.umich.edu>
This commit is contained in:
parent
bfb5a55861
commit
3bdabdf918
1 changed files with 6 additions and 0 deletions
|
|
@ -3686,10 +3686,13 @@ NTSTATUS nfs41_SetFileInformation (
|
|||
{
|
||||
PFILE_RENAME_INFORMATION rinfo =
|
||||
(PFILE_RENAME_INFORMATION)RxContext->Info.Buffer;
|
||||
UNICODE_STRING dst = { (USHORT)rinfo->FileNameLength,
|
||||
(USHORT)rinfo->FileNameLength, rinfo->FileName };
|
||||
if (rinfo->RootDirectory) {
|
||||
status = STATUS_NOT_SUPPORTED;
|
||||
goto out;
|
||||
}
|
||||
DbgP("Attempting to rename to '%wZ'\n", dst);
|
||||
nfs41_fcb->Flags = 0;
|
||||
}
|
||||
break;
|
||||
|
|
@ -3697,10 +3700,13 @@ NTSTATUS nfs41_SetFileInformation (
|
|||
{
|
||||
PFILE_LINK_INFORMATION linfo =
|
||||
(PFILE_LINK_INFORMATION)RxContext->Info.Buffer;
|
||||
UNICODE_STRING dst = { (USHORT)linfo->FileNameLength,
|
||||
(USHORT)linfo->FileNameLength, linfo->FileName };
|
||||
if (linfo->RootDirectory) {
|
||||
status = STATUS_NOT_SUPPORTED;
|
||||
goto out;
|
||||
}
|
||||
DbgP("Attempting to add link as '%wZ'\n", dst);
|
||||
nfs41_fcb->Flags = 0;
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue