[stgt] [PATCH 13/14] tgt: bsd_include/ headers, emulates some Linuxism in BSD

Boaz Harrosh bharrosh at panasas.com
Wed Feb 25 10:05:37 CET 2009


FUJITA Tomonori wrote:
> On Mon, 23 Feb 2009 20:06:58 +0200
> Boaz Harrosh <bharrosh at panasas.com> wrote:
> 
>> These Headers do not exist on BSD but are used in tgt osd code:
>>   bsd_include/byteswap.h
>>   bsd_include/endian.h
>>   bsd_include/linux/fs.h
>> Included  only definitions used by code which are Linux specific.
>>
>> This file is broken on FreeBSD in regard to ipv6
>> and needs a fixup:
>>   bsd_include/netinet/in.h
>>
>> Signed-off-by: Boaz Harrosh <bharrosh at panasas.com>
>> ---
>>  bsd_include/byteswap.h   |   10 ++++++++++
>>  bsd_include/endian.h     |   26 ++++++++++++++++++++++++++
>>  bsd_include/linux/fs.h   |   40 ++++++++++++++++++++++++++++++++++++++++
>>  bsd_include/netinet/in.h |   11 +++++++++++
>>  4 files changed, 87 insertions(+), 0 deletions(-)
>>  create mode 100644 bsd_include/byteswap.h
>>  create mode 100644 bsd_include/endian.h
>>  create mode 100644 bsd_include/linux/fs.h
>>  create mode 100644 bsd_include/netinet/in.h
> 
> I prefer include/bsd/

Sure, what ever is best for you
Boaz

--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list