summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorPaulo Alcantara <pc@manguebit.org>2026-09-06 16:01:04 -0300
committerPaulo Alcantara <pc@manguebit.org>2026-09-08 11:30:08 -0300
commitfa7a2cfcf1e6117fc478cae6809c66c518740969 (patch)
treef14e724cb1089e3449eb5dfac8852922001419e1 /scripts
parentda6e25842431982d5a53cf00d925b98c690f4467 (diff)
downloadlinux-fa7a2cfcf1e6117fc478cae6809c66c518740969.tar.gz
linux-fa7a2cfcf1e6117fc478cae6809c66c518740969.zip
smb: client: fix file type corruption in wsl_to_fattr()
Setting the file type in cf_mode without clearing the existing S_IFMT bits first is wrong as it corrupts the file type when cf_mode already has type bits set (e.g. S_IFREG | S_IFCHR == S_IFLNK). Clear S_IFMT before the switch statement. Closes: https://sashiko.dev/#/patchset/20260906172005.627163-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')
0 files changed, 0 insertions, 0 deletions