]> git.proxmox.com Git - mirror_zfs.git/commit - module/zfs/zvol.c
Linux 2.6.x compat, blkdev_compat.h
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 22 Feb 2011 20:15:13 +0000 (12:15 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 23 Feb 2011 20:29:38 +0000 (12:29 -0800)
commit61e909608d15dc6900a710a0ceab6e101a68ac5a
tree0786db6d6de1bd8d2fe39f7c2039007b72203351
parent075cf6cb72a460d884c29085413c3ea16a62d32d
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.
include/linux/blkdev_compat.h [new file with mode: 0644]
include/sys/Makefile.am
include/sys/Makefile.in
include/sys/blkdev.h [deleted file]
include/sys/dmu.h
include/sys/vdev_disk.h
include/sys/zvol.h
module/zfs/zvol.c