diff options
author | Paulo Alcantara <[email protected]> | 2023-11-28 16:37:19 -0300 |
---|---|---|
committer | Steve French <[email protected]> | 2023-11-28 20:41:41 -0600 |
commit | 9d63509547a940225d06d7eba1dc412befae255d (patch) | |
tree | 07b7d7c224d96af4269692fa434882f76fc7502d /scripts/generate_rust_target.rs | |
parent | ef22bb800d967616c7638d204bc1b425beac7f5f (diff) |
smb: client: report correct st_size for SMB and NFS symlinks
We can't rely on FILE_STANDARD_INFORMATION::EndOfFile for reparse
points as they will be always zero. Set it to symlink target's length
as specified by POSIX.
This will make stat() family of syscalls return the correct st_size
for such files.
Cc: [email protected]
Signed-off-by: Paulo Alcantara (SUSE) <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions