Skip to content

Commit 131ea1e

Browse files
committed
smb3: Add missing reparse tags
Additional reparse tags were described for WSL and file sync. Add missing defines for these tags. Some will be useful for POSIX extensions (as discussed at Storage Developer Conference). Signed-off-by: Steve French <[email protected]> Reviewed-by: Aurelien Aptel <[email protected]>
1 parent 63d37fb commit 131ea1e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

fs/cifs/smbfsctl.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,17 @@
144144
#define IO_REPARSE_APPXSTREAM 0xC0000014
145145
/* NFS symlinks, Win 8/SMB3 and later */
146146
#define IO_REPARSE_TAG_NFS 0x80000014
147+
/*
148+
* AzureFileSync - see
149+
* https://docs.microsoft.com/en-us/azure/storage/files/storage-sync-cloud-tiering
150+
*/
151+
#define IO_REPARSE_TAG_AZ_FILE_SYNC 0x8000001e
152+
/* WSL reparse tags */
153+
#define IO_REPARSE_TAG_LX_SYMLINK 0xA000001D
154+
#define IO_REPARSE_TAG_AF_UNIX 0x80000023
155+
#define IO_REPARSE_TAG_LX_FIFO 0x80000024
156+
#define IO_REPARSE_TAG_LX_CHR 0x80000025
157+
#define IO_REPARSE_TAG_LX_BLK 0x80000026
147158

148159
/* fsctl flags */
149160
/* If Flags is set to this value, the request is an FSCTL not ioctl request */

0 commit comments

Comments
 (0)