diff options
| author | Namjae Jeon <linkinjeon@kernel.org> | 2026-07-07 00:31:54 +0900 |
|---|---|---|
| committer | Namjae Jeon <linkinjeon@kernel.org> | 2026-08-17 15:00:32 +0900 |
| commit | d4ef8821fd5a61a67981daf79185a40b8e853137 (patch) | |
| tree | 3de19129fa625bd742b5934fcc539cc3b805c20e /tools/perf/scripts/python/bin | |
| parent | d112661f951c4b6d9eaca051c52c4828780da082 (diff) | |
ksmbd: support empty snapshot enumeration
FSCTL_SRV_ENUM_SNAPS is currently unimplemented, causing clients to
treat shadow-copy enumeration as unsupported even when the share simply
has no snapshots.
Handle the count-only SRV_SNAPSHOT_ARRAY request and return a valid
empty snapshot list after validating the file handle and minimum output
buffer size. Report a two-byte empty UTF-16 MULTI_SZ array and zero
snapshot counts.
This allows smb2.ioctl.shadow_copy to run without a snapshot backend.
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
