diff options
| author | Namjae Jeon <linkinjeon@kernel.org> | 2026-07-07 00:19:55 +0900 |
|---|---|---|
| committer | Namjae Jeon <linkinjeon@kernel.org> | 2026-08-17 15:00:31 +0900 |
| commit | 10aeff72ab82c264238dda270984cafb30175bad (patch) | |
| tree | 0dcef8aa0c0a9af9376cc8d5a5d5e6eb0723004d /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 2103add92a02505bdd536ba6fce7f64a427222a2 (diff) | |
ksmbd: support normalized name information
FILE_NORMALIZED_NAME_INFORMATION is not handled and is returned as
STATUS_INVALID_INFO_CLASS. SMB 3.1.1 clients use this information class
to obtain the share-relative path with the on-disk name casing.
Build the normalized path from the opened dentry, remove the leading
share-relative separator, and recover the canonical named-stream casing
from its backing xattr. Return an empty name for the share root and
STATUS_NOT_SUPPORTED for dialects older than SMB 3.1.1.
Also distinguish a named $DATA stream on a directory from the unnamed
data stream so that directory:stream:$DATA can be opened normally.
This fixes smb2.getinfo.normalized.
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
