I've updated the webrev with the comments I've received so far.

I added two new functions, used within the library only, that will map a zfs 
error to a BE error (be_errno_t) and an errno to a BE error. I've also 
increased 
the number of errors defined in libbe.h to accommodate this mapping and provide 
the errors asked for in 2058 (I closed 2058 as a dup of 1817).

The link to the webrev is the same as before.

Thanks,
-evan

Evan Layton wrote:
> Based on conversations with Dave and others I'm rethinking some of this so 
> there 
> will be some changes. I'll send out an updated webrev when I have this done.
> 
> Thanks,
> -evan
> 
> Evan Layton wrote:
>> This fix adds the use of error codes throughout libbe. All functions
>> should now return the errors codes defined in libbe.h.
>>
>> I've also added the use of an environment variable (BE_PRINT_ERR) that
>> enables printing the error output in the library without having to
>> compile in changes to enable this printing.
>>
>> Defect:
>> ------
>> http://defect.opensolaris.org/bz/show_bug.cgi?id=1817
>>
>> Webrev:
>> ------
>> http://cr.opensolaris.org/~evanl/1817/
>>
>> Thanks,
>> -evan
>> _______________________________________________
>> caiman-discuss mailing list
>> caiman-discuss at opensolaris.org
>> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
> 
> _______________________________________________
> caiman-discuss mailing list
> caiman-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss


Reply via email to