Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <stfrench@microsoft.com>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>

+11
+11
fs/cifs/smbfsctl.h
··· 144 144 #define IO_REPARSE_APPXSTREAM 0xC0000014 145 145 /* NFS symlinks, Win 8/SMB3 and later */ 146 146 #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 147 158 148 159 /* fsctl flags */ 149 160 /* If Flags is set to this value, the request is an FSCTL not ioctl request */