]> git.proxmox.com Git - mirror_spl-debian.git/commit
Add configure check for user_path_dir()
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 1 Jul 2010 20:37:43 +0000 (13:37 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 1 Jul 2010 20:53:26 +0000 (13:53 -0700)
commit7119bf704490bcb9abca9fa80214313024d381a2
tree9a1a323ce6eb009b7c3a63c6fcfb794801e5fc8f
parente2d28a3743807c8708727cf51b94e4e8407bea65
Add configure check for user_path_dir()

I didn't notice at the time but user_path_dir() was not introduced
at the same time as set_fs_pwd() change.  I had lumped the two
together but in fact user_path_dir() was introduced in 2.6.27 and
set_fs_pwd() taking 2 args was introduced in 2.6.25.  This means
builds against 2.6.25-2.6.26 kernels were broken.

To fix this I've added a check for user_path_dir() and no longer
assume that if set_fs_pwd() takes 2 args then user_path_dir() is
also available.
config/spl-build.m4
configure
module/spl/spl-vnode.c
spl_config.h.in