zfs/cmd/zdb
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
..
.gitignore Add .gitignore files to exclude build products 2010-01-08 11:35:17 -08:00
Makefile.am Add missing -ldl linker option 2011-02-10 11:05:44 -08:00
Makefile.in Simplify BDI integration 2011-11-08 10:19:03 -08:00
zdb.c Fix block device-related issues in zdb. 2010-12-14 09:52:46 -08:00
zdb_il.c Fix gcc invalid prototype warnings 2010-08-27 15:34:03 -07:00