zfs/scripts/zpool-config
Richard Yao 6a0936babc Linux 3.4 compat, d_make_root() replaces d_alloc_root()
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
2012-06-11 10:04:49 -07:00
..
Makefile.am Replace custom zpool configs with generic configs 2010-11-08 14:03:36 -08:00
Makefile.in Linux 3.4 compat, d_make_root() replaces d_alloc_root() 2012-06-11 10:04:49 -07:00
dm0-raid0.sh Add build system 2010-08-31 13:41:27 -07:00
file-raid0.sh Add build system 2010-08-31 13:41:27 -07:00
file-raid10.sh Add build system 2010-08-31 13:41:27 -07:00
file-raidz.sh Add build system 2010-08-31 13:41:27 -07:00
file-raidz2.sh Add build system 2010-08-31 13:41:27 -07:00
hda-raid0.sh Add build system 2010-08-31 13:41:27 -07:00
lo-faulty-raid0.sh Add zfault zpool configurations and tests 2010-10-12 15:20:03 -07:00
lo-faulty-raid10.sh Add zfault zpool configurations and tests 2010-10-12 15:20:03 -07:00
lo-faulty-raidz.sh Add zfault zpool configurations and tests 2010-10-12 15:20:03 -07:00
lo-faulty-raidz2.sh Add zfault zpool configurations and tests 2010-10-12 15:20:03 -07:00
lo-faulty-raidz3.sh Add zfault zpool configurations and tests 2010-10-12 15:20:03 -07:00
lo-raid0.sh Delay before destroying loopback devices 2011-06-03 14:38:25 -07:00
lo-raid10.sh Delay before destroying loopback devices 2011-06-03 14:38:25 -07:00
lo-raidz.sh Delay before destroying loopback devices 2011-06-03 14:38:25 -07:00
lo-raidz2.sh Delay before destroying loopback devices 2011-06-03 14:38:25 -07:00
md0-raid5.sh Add build system 2010-08-31 13:41:27 -07:00
md0-raid10.sh Add build system 2010-08-31 13:41:27 -07:00
ram0-raid0.sh Add build system 2010-08-31 13:41:27 -07:00
scsi_debug-noraid.sh Add zfault zpool configurations and tests 2010-10-12 15:20:03 -07:00
scsi_debug-raid0.sh Add zfault zpool configurations and tests 2010-10-12 15:20:03 -07:00
scsi_debug-raid10.sh Add zfault zpool configurations and tests 2010-10-12 15:20:03 -07:00
scsi_debug-raidz.sh Add zfault zpool configurations and tests 2010-10-12 15:20:03 -07:00
scsi_debug-raidz2.sh Add zfault zpool configurations and tests 2010-10-12 15:20:03 -07:00
scsi_debug-raidz3.sh Add zfault zpool configurations and tests 2010-10-12 15:20:03 -07:00
sda-raid0.sh Add build system 2010-08-31 13:41:27 -07:00
zpool-raid0.sh Replace custom zpool configs with generic configs 2010-11-08 14:03:36 -08:00
zpool-raid10.sh Replace custom zpool configs with generic configs 2010-11-08 14:03:36 -08:00
zpool-raidz.sh Replace custom zpool configs with generic configs 2010-11-08 14:03:36 -08:00