Skip to content

Commit 6e2e27e

Browse files
author
Steve French
committed
smb3: remove duplicate error mapping
In status_to_posix_error STATUS_IO_REPARSE_TAG_NOT_HANDLED was mapped to both -EOPNOTSUPP and also to -EIO but the later one (-EIO) is ignored. Remove the duplicate. Reviewed-by: Paulo Alcantara (SUSE) <pc@manguebit.com> Signed-off-by: Steve French <stfrench@microsoft.com>
1 parent d527f51 commit 6e2e27e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

fs/smb/client/smb2maperror.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -877,8 +877,6 @@ static const struct status_to_posix_error smb2_error_map_table[] = {
877877
"STATUS_IO_REPARSE_TAG_MISMATCH"},
878878
{STATUS_IO_REPARSE_DATA_INVALID, -EIO,
879879
"STATUS_IO_REPARSE_DATA_INVALID"},
880-
{STATUS_IO_REPARSE_TAG_NOT_HANDLED, -EIO,
881-
"STATUS_IO_REPARSE_TAG_NOT_HANDLED"},
882880
{STATUS_REPARSE_POINT_NOT_RESOLVED, -EIO,
883881
"STATUS_REPARSE_POINT_NOT_RESOLVED"},
884882
{STATUS_DIRECTORY_IS_A_REPARSE_POINT, -EIO,

0 commit comments

Comments
 (0)