mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-12 17:29:04 +08:00
smb: client: handle STATUS_IO_REPARSE_TAG_NOT_HANDLED
Fix missing set of cifs_open_info_data::reparse_point when SMB2_CREATE
request fails with STATUS_IO_REPARSE_TAG_NOT_HANDLED.
Fixes: 5f71ebc412 ("smb: client: parse reparse point flag in create response")
Signed-off-by: Paulo Alcantara (SUSE) <pc@manguebit.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
This commit is contained in:
committed by
Steve French
parent
6e2e27e47c
commit
7fb77d9c87
@@ -539,6 +539,9 @@ static int parse_create_response(struct cifs_open_info_data *data,
|
||||
int rc = 0;
|
||||
|
||||
switch (rsp->hdr.Status) {
|
||||
case STATUS_IO_REPARSE_TAG_NOT_HANDLED:
|
||||
reparse_point = true;
|
||||
break;
|
||||
case STATUS_STOPPED_ON_SYMLINK:
|
||||
rc = smb2_parse_symlink_response(cifs_sb, iov,
|
||||
&data->symlink_target);
|
||||
|
||||
Reference in New Issue
Block a user