driver: link and rename print target filename

Signed-off-by: Casey Bodley <cbodley@citi.umich.edu>
This commit is contained in:
Casey Bodley 2010-11-05 14:04:39 -04:00
parent bfb5a55861
commit 3bdabdf918

View file

@ -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;