freebsd-nq/include/linux
Ying Zhu 6822a0d058 Fix compile warning on 32-bit systems
The definition of zfs_vdev_holder casts VDEV_HOLDER into a function pointer
passing to linux kernel's block layer function blkdev_get_by_path.
However current VDEV_HOLDER is defined to be wider than 32 bits and the compiler
warns about potential overflows. Instead of specifying different values for 32-bit and
64-bit systems using ifdefs, choose the common factor 32-bit addresses.
Redefine VDEV_HOLDER to 0x2401de7("zholder") here.

Signed-off-by: Ying Zhu <casualfisher@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1520
2013-06-19 17:11:55 -07:00
..
blkdev_compat.h Fix compile warning on 32-bit systems 2013-06-19 17:11:55 -07:00
dcache_compat.h Add d_clear_d_op() compatibility 2013-01-23 16:33:29 -08:00
Makefile.am Change zfs-kmod-devel install path 2013-03-13 13:42:16 -07:00
vfs_compat.h Fix 'zfs rollback' on mounted file systems 2013-01-17 09:51:20 -08:00
xattr_compat.h Linux compat 2.6.39: security_inode_init_security() 2011-07-01 12:40:08 -07:00