aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/spa_misc.c
diff options
context:
space:
mode:
authorRichard Yao <[email protected]>2014-11-03 09:42:44 -0500
committerBrian Behlendorf <[email protected]>2015-01-16 14:28:05 -0800
commit71f8548ea443718a5afb1598f1f3a27a369ccd8b (patch)
tree5bbf653719afb094fede23537fade755e1a7b963 /module/zfs/spa_misc.c
parent92119cc259ee2f9ebde14145f549d6313f557759 (diff)
Use is_vmalloc_addr() in vdev_disk.c
The initial port of ZFS to Linux required a way to identify virtual memory to make IO to virtual memory backed slabs work, so kmem_virt() was created. Linux 2.6.25 introduced is_vmalloc_addr(), which is logically equivalent to kmem_virt(). Support for kernels before 2.6.26 was later dropped and more recently, support for kernels before Linux 2.6.32 has been dropped. We retire kmem_virt() in favor of is_vmalloc_addr() to cleanup the code. Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'module/zfs/spa_misc.c')
0 files changed, 0 insertions, 0 deletions