Files
mirror_zfs/module/splat
Richard Yao e0093fea58 Linux 3.4 compat, __clear_close_on_exec replaces FD_CLR
torvalds/linux@1dce27c5aa introduced
__clear_close_on_exec() as a replacement for FD_CLR. Further commits
appear to have removed FD_CLR from the Linux source tree.  This
causes the following failure:

  error: implicit declaration of function '__FD_CLR'
  [-Werror=implicit-function-declaration]

To correct this we update the code to use the current
__clear_close_on_exec() interface for readability.  Then we introduce
an autotools check to determine if __clear_close_on_exec() is available.
If it isn't then we define some compatibility logic which used the older
FD_CLR() interface.

Signed-off-by: Richard Yao <ryao@gentoo.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #124
2012-06-13 16:18:51 -07:00
..
2010-01-08 09:37:54 -08:00
2011-06-21 14:02:46 -07:00
2010-07-20 13:29:35 -07:00
2010-05-17 15:18:00 -07:00
2011-06-21 14:02:46 -07:00
2010-05-17 15:18:00 -07:00
2011-06-21 14:02:46 -07:00
2010-05-17 15:18:00 -07:00
2010-06-28 16:02:57 -07:00
2010-05-17 15:18:00 -07:00
2010-11-09 10:18:01 -08:00
2012-01-18 10:36:51 -08:00
2010-05-17 15:18:00 -07:00
2011-02-25 16:56:46 -08:00