freebsd-dev/cmd/mount_zfs
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 Added .gitignore for mount.zfs and zvol_id 2011-04-07 10:28:38 -07:00
Makefile.am Fix 'LDFLAGS=-Wl,--as-needed' build error 2011-03-18 14:47:19 -07:00
Makefile.in Simplify BDI integration 2011-11-08 10:19:03 -08:00
mount_zfs.c Linux compat 2.6.39: mount_nodev() 2011-07-01 13:36:39 -07:00