]> git.proxmox.com Git - mirror_spl.git/commit
Linux compat 4.16: SECTOR_SIZE
authorGiuseppe Di Natale <dinatale2@users.noreply.github.com>
Tue, 10 Apr 2018 00:20:06 +0000 (17:20 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 10 Apr 2018 00:20:06 +0000 (17:20 -0700)
commit9125f8f5bdb36bfbd2d816d30b6b29b9f89ae3d8
tree97c6bf780102ceca4523a30b454257e488dd756f
parent581bc01a0765eed9ea7dc17132b3943a5efc966d
Linux compat 4.16: SECTOR_SIZE

As of https://github.com/torvalds/linux/commit/233bde21,
SECTOR_SIZE is defined in linux/blkdev.h. Define SECTOR_SIZE
in sunldi.h only if it's not already defined.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Signed-off-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Closes #697
include/sys/sunldi.h