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
..
2012-01-11 11:46:02 -08: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
2012-03-07 16:28:00 -08:00
2011-02-10 09:21:43 -08:00
2011-05-04 10:02:37 -07:00
2011-03-02 11:43:50 -08:00
2011-09-27 16:12:36 -07:00
2011-03-02 11:43:50 -08:00
2012-02-02 11:24:30 -08:00
2012-03-22 13:03:47 -07:00
2012-02-27 14:08:17 -08:00
2011-02-10 09:27:21 -08:00
2011-11-28 15:45:51 -08:00
2012-03-22 13:03:47 -07:00
2011-08-02 10:34:55 -07:00
2012-03-22 13:03:47 -07:00
2011-02-23 12:29:38 -08:00