summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGordon Ross <gwr@racktopsystems.com>2022-01-10 09:09:43 -0500
committerToomas Soome <tsoome@me.com>2022-11-01 22:17:09 +0200
commita767d70f9fcc7bd039caec6b7e86fbd9f064777b (patch)
tree2d5a8424d94a55452fa28d9c8c9fbf249bcf3dfa
parent9ef4124554445942a71f4cd7e4228ea9b576bfd4 (diff)
downloadillumos-joyent-a767d70f9fcc7bd039caec6b7e86fbd9f064777b.tar.gz
15095 WPTS BVT_EnumerateSnapShots
Reviewed by: Andy Stormont <andyjstormont@gmail.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Matt Barden <mbarden@tintri.com> Approved by: Dan McDonald <danmcd@mnx.io>
-rw-r--r--usr/src/uts/common/fs/smbsrv/smb_vss.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/src/uts/common/fs/smbsrv/smb_vss.c b/usr/src/uts/common/fs/smbsrv/smb_vss.c
index d0339e7352..6e20b43be5 100644
--- a/usr/src/uts/common/fs/smbsrv/smb_vss.c
+++ b/usr/src/uts/common/fs/smbsrv/smb_vss.c
@@ -21,6 +21,7 @@
/*
* Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2018 Nexenta Systems, Inc. All rights reserved.
+ * Copyright 2022 RackTop Systems, Inc.
*/
/*
@@ -303,6 +304,8 @@ smb_vss_encode_gmttokens(smb_request_t *sr, smb_fsctl_t *fsctl,
status = NT_STATUS_INVALID_PARAMETER;
gmttokens++;
}
+ // WPTS says there should be a final unicode null.
+ (void) smb_mbc_encodef(fsctl->out_mbc, "..");
}
return (status);