|
|
@@ -1036,7 +1036,8 @@ static const struct status_to_posix_error smb2_error_map_table[] = {
|
|
|
{STATUS_UNFINISHED_CONTEXT_DELETED, -EIO,
|
|
|
"STATUS_UNFINISHED_CONTEXT_DELETED"},
|
|
|
{STATUS_NO_TGT_REPLY, -EIO, "STATUS_NO_TGT_REPLY"},
|
|
|
- {STATUS_OBJECTID_NOT_FOUND, -EIO, "STATUS_OBJECTID_NOT_FOUND"},
|
|
|
+ /* Note that ENOATTTR and ENODATA are the same errno */
|
|
|
+ {STATUS_OBJECTID_NOT_FOUND, -ENODATA, "STATUS_OBJECTID_NOT_FOUND"},
|
|
|
{STATUS_NO_IP_ADDRESSES, -EIO, "STATUS_NO_IP_ADDRESSES"},
|
|
|
{STATUS_WRONG_CREDENTIAL_HANDLE, -EIO,
|
|
|
"STATUS_WRONG_CREDENTIAL_HANDLE"},
|