OSDN Git Service

smb3: set COMPOUND_FID to FileID field of subsequent compound request
authorNamjae Jeon <namjae.jeon@samsung.com>
Thu, 3 Dec 2020 03:31:36 +0000 (12:31 +0900)
committerSteve French <stfrench@microsoft.com>
Thu, 3 Dec 2020 23:02:52 +0000 (17:02 -0600)
commit796317848517292eb951d8876773b98867cf3c28
tree03471f4ed580b90b5074fdea8267f82da730d1e0
parent509a15421674b9e1a3e1916939d0d0efd3e578da
smb3: set COMPOUND_FID to FileID field of subsequent compound request

For an operation compounded with an SMB2 CREATE request, client must set
COMPOUND_FID(0xFFFFFFFFFFFFFFFF) to FileID field of smb2 ioctl.

Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Fixes: 2e4564b31b645 ("smb3: add support stat of WSL reparse points for special file types")
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/smb2ops.c