Files
mirror_zfs/module/zfs
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
..
2010-08-31 08:38:35 -07:00
2010-08-26 14:24:34 -07:00
2011-05-31 12:17:27 -07:00
2011-05-31 12:17:27 -07:00
2010-08-26 14:24:34 -07:00
2010-08-31 13:41:58 -07:00
2012-04-11 09:26:55 -07:00
2011-05-04 10:02:37 -07:00
2012-04-27 16:28:02 -07:00
2010-08-31 08:38:45 -07:00
2011-11-03 10:19:21 -07:00
2012-03-22 13:03:47 -07:00
2010-08-31 13:41:58 -07:00
2010-08-31 13:41:58 -07:00
2012-02-27 08:59:10 -08:00
2012-04-11 09:26:55 -07:00
2011-05-04 10:02:37 -07:00
2010-08-31 13:41:58 -07:00
2011-05-04 10:02:37 -07:00
2010-08-31 08:38:46 -07:00
2010-08-31 08:38:49 -07:00
2012-03-22 13:03:47 -07:00
2010-12-07 16:05:25 -08:00
2012-03-07 16:28:00 -08:00
2010-08-31 13:41:59 -07:00
2010-08-31 13:41:58 -07:00
2010-08-31 13:41:58 -07:00
2010-08-31 13:41:58 -07:00
2012-02-02 11:24:30 -08:00
2012-02-27 08:59:10 -08:00
2010-08-27 15:34:02 -07:00
2010-08-27 15:28:32 -07:00
2011-05-04 10:02:37 -07:00
2010-08-31 08:38:44 -07:00
2010-08-27 15:28:32 -07:00
2010-08-31 08:38:46 -07:00
2011-07-01 13:36:39 -07:00
2010-08-31 13:41:58 -07:00
2012-03-22 15:43:55 -07:00
2012-02-09 16:37:48 -08:00
2012-03-22 13:03:47 -07:00
2011-03-02 11:44:34 -08:00
2011-03-02 11:44:34 -08:00
2010-08-31 13:41:50 -07:00
2011-03-03 11:29:15 -08:00
2012-03-02 13:20:48 -08:00
2012-03-22 13:03:47 -07:00
2012-03-22 13:03:47 -07:00
2011-05-04 10:02:37 -07:00
2012-03-22 13:03:47 -07:00
2012-03-22 13:03:47 -07:00
2010-09-17 16:24:15 -07:00
2012-06-11 09:43:48 -07:00