Ok, the changes are available here: http://www.wizy.org/files/zfs-linux.patch
A few notes:
1) The patch includes the header Solaris/Linux differences. I'm not sure
what's relevant, if anything. I have included some Solaris-specific macros
and typedefs in sol_compat.h, so you will see some #includes removed.
By the way, I'm not exactly a C or UNIX expert (not even close), so if there
are any glaring errors in the #includes, please let me know :p
2) I don't know if I got the necessary casts correctly. I had to do it to
eliminate gcc warnings, I don't know how it'll work with the Sun Studio
compiler. I have tested them with gcc-3.4.5 in both x86 and x86-64 modes.
3) gcc spits a warning in this code: 'struct foo bar = { 0 }'.. I had to
change all such code to 'struct foo bar = {}'. The {0} syntax is correct
standard C, however.
4) The directory structure is not the same as in the OpenSolaris sources,
sorry about that.
On Friday 09 June 2006 18:50, Eric Schrock wrote:
> Sweet! Let us know if you had to make any changes to non-zfs_context
> code, and we can integrate the changes upstream to make future
> maintenance/other ports easier. FYI, the fix I'll putback is slightly
> ...