diff options
| author | Paulo Alcantara <pc@manguebit.org> | 2026-09-06 14:40:23 -0300 |
|---|---|---|
| committer | Paulo Alcantara <pc@manguebit.org> | 2026-09-08 11:29:44 -0300 |
| commit | cd2b2b57921d4caa7875e83198bb2aa71254328b (patch) | |
| tree | d9ba3780ae0192a1c6f7b6a5dabc8faffb231ba2 /scripts/basic/split-include.c | |
| parent | 18a72975e9f35aadecc75b031f693f2d1f49308f (diff) | |
| download | linux-cd2b2b57921d4caa7875e83198bb2aa71254328b.tar.gz linux-cd2b2b57921d4caa7875e83198bb2aa71254328b.zip | |
smb: client: fix WSL reparse point uid/gid override
wsl_to_fattr() unconditionally overwrites cf_uid/cf_gid with values
from WSL extended attributes ($LXUID/$LXGID), ignoring the forceuid
and forcegid mount options.
Fix this by initializing cf_uid/cf_gid to the mount defaults and
gating the $LXUID/$LXGID EA parsing on forceuid/forcegid.
Closes: https://sashiko.dev/#/patchset/20260906190803.667489-1-pc%40manguebit.org
Reviewed-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Paulo Alcantara <pc@manguebit.org>
Cc: Ronnie Sahlberg <ronniesahlberg@gmail.com>
Cc: Shyam Prasad N <sprasad@microsoft.com>
Cc: Tom Talpey <tom@talpey.com>
Cc: Bharath SM <bharathsm@microsoft.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions
