diff options
author | Brian Behlendorf <[email protected]> | 2011-02-22 12:15:13 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2011-02-23 12:29:38 -0800 |
commit | 61e909608d15dc6900a710a0ceab6e101a68ac5a (patch) | |
tree | 0786db6d6de1bd8d2fe39f7c2039007b72203351 /include/sys/zvol.h | |
parent | 075cf6cb72a460d884c29085413c3ea16a62d32d (diff) |
Linux 2.6.x compat, blkdev_compat.h
For legacy reasons the zvol.c and vdev_disk.c Linux compatibility
code ended up in sys/blkdev.h and sys/vdev_disk.h headers. While
there are worse places for this code to live it should be in a
linux/blkdev_compat.h header. This change moves this block device
Linux compatibility code in to the linux/blkdev_compat.h header
and updates all the correct #include locations. This is not a
functional change or bug fix, it is just code cleanup.
Diffstat (limited to 'include/sys/zvol.h')
-rw-r--r-- | include/sys/zvol.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/sys/zvol.h b/include/sys/zvol.h index c8b9d6507..815b186e0 100644 --- a/include/sys/zvol.h +++ b/include/sys/zvol.h @@ -33,8 +33,6 @@ #ifdef _KERNEL -#include <sys/blkdev.h> - extern int zvol_check_volsize(uint64_t volsize, uint64_t blocksize); extern int zvol_check_volblocksize(uint64_t volblocksize); extern int zvol_get_stats(objset_t *os, nvlist_t *nv); |