Remap ENOATTR to ENODATA in the linuxulator.

In the linux ENOADATA is frequently #defined as ENOATTR.
The change is required for an xattrs support implementation.

MFC after: 1 week
Discussed with: netchild
Approved by: pfg

Differential Revision: https://reviews.freebsd.org/D13221
This commit is contained in:
fsu 2017-11-27 17:03:11 +00:00
parent 64435aa4fe
commit 24e4690114
3 changed files with 3 additions and 3 deletions

View File

@ -147,7 +147,7 @@ static int bsd_to_linux_errno[ELAST + 1] = {
-100,-101,-102,-103,-104,-105,-106,-107,-108,-109,
-110,-111, -40, -36,-112,-113, -39, -11, -87,-122,
-116, -66, -6, -6, -6, -6, -6, -37, -38, -9,
-6, -6, -43, -42, -75,-125, -84, -95, -16, -74,
-6, -6, -43, -42, -75,-125, -84, -61, -16, -74,
-72, -67, -71
};

View File

@ -148,7 +148,7 @@ static int bsd_to_linux_errno[ELAST + 1] = {
-100,-101,-102,-103,-104,-105,-106,-107,-108,-109,
-110,-111, -40, -36,-112,-113, -39, -11, -87,-122,
-116, -66, -6, -6, -6, -6, -6, -37, -38, -9,
-6, -6, -43, -42, -75,-125, -84, -95, -16, -74,
-6, -6, -43, -42, -75,-125, -84, -61, -16, -74,
-72, -67, -71
};

View File

@ -147,7 +147,7 @@ static int bsd_to_linux_errno[ELAST + 1] = {
-100,-101,-102,-103,-104,-105,-106,-107,-108,-109,
-110,-111, -40, -36,-112,-113, -39, -11, -87,-122,
-116, -66, -6, -6, -6, -6, -6, -37, -38, -9,
-6, -6, -43, -42, -75,-125, -84, -95, -16, -74,
-6, -6, -43, -42, -75,-125, -84, -61, -16, -74,
-72, -67, -71
};