freebsd-dev/lib/libspl
Brian Behlendorf 5547c2f1bf Simplify BDI integration
Update the code to use the bdi_setup_and_register() helper to
simplify the bdi integration code.  The updated code now just
registers the bdi during mount and destroys it during unmount.

The only complication is that for 2.6.32 - 2.6.33 kernels the
helper wasn't available so in these cases the zfs code must
provide it.  Luckily the bdi_setup_and_register() function
is trivial.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #367
2011-11-08 10:19:03 -08:00
..
asm-generic Simplify BDI integration 2011-11-08 10:19:03 -08:00
asm-i386 Simplify BDI integration 2011-11-08 10:19:03 -08:00
asm-x86_64 Simplify BDI integration 2011-11-08 10:19:03 -08:00
include Simplify BDI integration 2011-11-08 10:19:03 -08:00
getexecname.c Add linux libspl support 2010-08-31 13:41:59 -07:00
gethrestime.c Add linux libspl support 2010-08-31 13:41:59 -07:00
gethrtime.c Add linux libspl support 2010-08-31 13:41:59 -07:00
getmntany.c Add linux libspl support 2010-08-31 13:41:59 -07:00
list.c Add linux libspl support 2010-08-31 13:41:59 -07:00
Makefile.am Add proper library versioning 2011-07-06 09:20:28 -07:00
Makefile.in Simplify BDI integration 2011-11-08 10:19:03 -08:00
mkdirp.c Add linux libspl support 2010-08-31 13:41:59 -07:00
strlcat.c Add linux libspl support 2010-08-31 13:41:59 -07:00
strlcpy.c Add linux libspl support 2010-08-31 13:41:59 -07:00
strnlen.c Add linux libspl support 2010-08-31 13:41:59 -07:00
timestamp.c Add linux libspl support 2010-08-31 13:41:59 -07:00
xdr.c Add linux libspl support 2010-08-31 13:41:59 -07:00
zone.c Add linux libspl support 2010-08-31 13:41:59 -07:00