mirror of
https://github.com/torvalds/linux.git
synced 2026-03-14 03:16:14 +01: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:
parent
6e2e27e47c
commit
7fb77d9c87
1 changed files with 3 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue