6 * We currently only include below the errors that
7 * affect us the most. We should add to this list
8 * more code mappings, as necessary.
12 * Convert from the local (host) to the standard
13 * (network) system error code.
16 hton_syserr_conv(uint32_t code
)
24 /* EDQUOT doesn't exist on solaris */
25 else if (code
== EDQUOT
)
36 * Convert from the standard (Network) format to the
37 * local (host) system error code.
40 ntoh_syserr_conv(uint32_t code
)
45 if (code
== VDISKFULL
)
47 else if (code
== VOVERQUOTA
)