]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cifs: Remove duplicate fattr->cf_dtype assignment from wsl_to_fattr() function
authorPali Rohár <pali@kernel.org>
Sun, 8 Jun 2025 14:10:33 +0000 (16:10 +0200)
committerSteve French <stfrench@microsoft.com>
Wed, 18 Jun 2025 18:27:52 +0000 (13:27 -0500)
commit840738eae94864993a735ab677b9795bb8f3b961
tree70162c00c74cde65f4894af33252ba1b060ef3bf
parent306cb65bb0cb243389fcbd0a66907d5bdea07d1e
cifs: Remove duplicate fattr->cf_dtype assignment from wsl_to_fattr() function

Commit 8bd25b61c5a5 ("smb: client: set correct d_type for reparse DFS/DFSR
and mount point") deduplicated assignment of fattr->cf_dtype member from
all places to end of the function cifs_reparse_point_to_fattr(). The only
one missing place which was not deduplicated is wsl_to_fattr(). Fix it.

Fixes: 8bd25b61c5a5 ("smb: client: set correct d_type for reparse DFS/DFSR and mount point")
Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/reparse.c