smb: client: add support for WSL reparse points
authorPaulo Alcantara <pc@manguebit.com>
Fri, 26 Jan 2024 22:26:06 +0000 (19:26 -0300)
committerSteve French <stfrench@microsoft.com>
Mon, 11 Mar 2024 00:33:58 +0000 (19:33 -0500)
commit5a4b09ecf8e8ad26ea03a37e52e310fe13f15b49
tree8f2538b6668b1941a40b21cd6104a75146b54360
parentfa792d8d235c20df5f422e4bd172db1efde55ab9
smb: client: add support for WSL reparse points

Add support for creating special files via WSL reparse points when
using 'reparse=wsl' mount option.  They're faster than NFS reparse
points because they don't require extra roundtrips to figure out what
->d_type a specific dirent is as such information is already stored in
query dir responses and then making getdents() calls faster.

Signed-off-by: Paulo Alcantara <pc@manguebit.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/cifsglob.h
fs/smb/client/fs_context.c
fs/smb/client/reparse.c
fs/smb/client/reparse.h
fs/smb/client/smb2inode.c
fs/smb/client/smb2ops.c
fs/smb/client/smb2pdu.c
fs/smb/client/smb2pdu.h
fs/smb/client/smb2proto.h
fs/smb/common/smbfsctl.h