Skip to content
Commit 85f9987b authored by Steve French's avatar Steve French
Browse files

fix incorrect error code mapping for OBJECTID_NOT_FOUND



It was mapped to EIO which can be confusing when user space
queries for an object GUID for an object for which the server
file system doesn't support (or hasn't saved one).

As Amir Goldstein suggested this is similar to ENOATTR
(equivalently ENODATA in Linux errno definitions) so
changing NT STATUS code mapping for OBJECTID_NOT_FOUND
to ENODATA.

Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
CC: Amir Goldstein <amir73il@gmail.com>
parent b073a080
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment