mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 03:09:34 +03:00
6a0936babc
torvalds/linux@adc0e91ab1 introduced introduced d_make_root() as a replacement for d_alloc_root(). Further commits appear to have removed d_alloc_root() from the Linux source tree. This causes the following failure: error: implicit declaration of function 'd_alloc_root' [-Werror=implicit-function-declaration] To correct this we update the code to use the current d_make_root() interface for readability. Then we introduce an autotools check to determine if d_make_root() is available. If it isn't then we define some compatibility logic which used the older d_alloc_root() interface. Signed-off-by: Richard Yao <ryao@gentoo.org> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #776 |
||
---|---|---|
.. | ||
dm0-raid0.sh | ||
file-raid0.sh | ||
file-raid10.sh | ||
file-raidz2.sh | ||
file-raidz.sh | ||
hda-raid0.sh | ||
lo-faulty-raid0.sh | ||
lo-faulty-raid10.sh | ||
lo-faulty-raidz2.sh | ||
lo-faulty-raidz3.sh | ||
lo-faulty-raidz.sh | ||
lo-raid0.sh | ||
lo-raid10.sh | ||
lo-raidz2.sh | ||
lo-raidz.sh | ||
Makefile.am | ||
Makefile.in | ||
md0-raid5.sh | ||
md0-raid10.sh | ||
ram0-raid0.sh | ||
scsi_debug-noraid.sh | ||
scsi_debug-raid0.sh | ||
scsi_debug-raid10.sh | ||
scsi_debug-raidz2.sh | ||
scsi_debug-raidz3.sh | ||
scsi_debug-raidz.sh | ||
sda-raid0.sh | ||
zpool-raid0.sh | ||
zpool-raid10.sh | ||
zpool-raidz.sh |