Skip to content

Commit 7fb77d9

Browse files
Paulo AlcantaraSteve French
authored andcommitted
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: 5f71ebc ("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>
1 parent 6e2e27e commit 7fb77d9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

fs/smb/client/smb2inode.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -539,6 +539,9 @@ static int parse_create_response(struct cifs_open_info_data *data,
539539
int rc = 0;
540540

541541
switch (rsp->hdr.Status) {
542+
case STATUS_IO_REPARSE_TAG_NOT_HANDLED:
543+
reparse_point = true;
544+
break;
542545
case STATUS_STOPPED_ON_SYMLINK:
543546
rc = smb2_parse_symlink_response(cifs_sb, iov,
544547
&data->symlink_target);

0 commit comments

Comments
 (0)