zfs/config
Brian Behlendorf 1c7b3eaf87 RHEL 6.4 compat, fallocate()
In the upstream kernel the FALLOC_FL_PUNCH_HOLE #define was
introduced after the fallocate() function was moved from the
inode_operations to the file_operations structure.  Therefore,
the SPL code assumed that if FALLOC_FL_PUNCH_HOLE was defined
it was safe to use f_ops->fallocate().

Unfortunately, the RHEL6.4 kernel has only backported the
FALLOC_FL_PUNCH_HOLE #define and not the fallocate() change.

To address this compatibility issue the spl_filp_fallocate()
helper function was added to properly detect which interface
is available.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
2013-01-08 09:53:13 -08:00
..
.gitignore Remove autotools products 2012-08-27 11:46:23 -07:00
Rules.am Support custom build directories 2010-09-05 21:49:05 -07:00
arch.am Don't build packages that haven't been selected. 2012-07-26 14:54:32 -07:00
config.awk Allow spl_config.h to be included by dependant packages (updated) 2010-03-22 14:45:33 -07:00
deb.am Don't build packages that haven't been selected. 2012-07-26 14:54:32 -07:00
rpm.am Support building a spl-modules-dkms sub package 2012-08-08 13:49:40 -07:00
spl-build.m4 RHEL 6.4 compat, fallocate() 2013-01-08 09:53:13 -08:00
spl-meta.m4 Public Release Prep 2010-05-17 15:18:00 -07:00
tgz.am Don't build packages that haven't been selected. 2012-07-26 14:54:32 -07:00