summaryrefslogtreecommitdiffstats
path: root/fs/smb/client/cifsglob.h
diff options
context:
space:
mode:
authorPaulo Alcantara <pc@manguebit.com>2024-01-26 19:26:06 -0300
committerSteve French <stfrench@microsoft.com>2024-03-10 19:33:58 -0500
commit5a4b09ecf8e8ad26ea03a37e52e310fe13f15b49 (patch)
tree8f2538b6668b1941a40b21cd6104a75146b54360 /fs/smb/client/cifsglob.h
parentfa792d8d235c20df5f422e4bd172db1efde55ab9 (diff)
downloadlinux-stable-5a4b09ecf8e8ad26ea03a37e52e310fe13f15b49.tar.gz
linux-stable-5a4b09ecf8e8ad26ea03a37e52e310fe13f15b49.tar.bz2
linux-stable-5a4b09ecf8e8ad26ea03a37e52e310fe13f15b49.zip
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>
Diffstat (limited to 'fs/smb/client/cifsglob.h')
-rw-r--r--fs/smb/client/cifsglob.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/smb/client/cifsglob.h b/fs/smb/client/cifsglob.h
index 345710ea9616..395eaed85432 100644
--- a/fs/smb/client/cifsglob.h
+++ b/fs/smb/client/cifsglob.h
@@ -1374,6 +1374,7 @@ struct cifs_open_parms {
umode_t mode;
bool reconnect:1;
bool replay:1; /* indicates that this open is for a replay */
+ struct kvec *ea_cctx;
};
struct cifs_fid {