aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libspl/asm-generic
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2011-11-07 16:39:03 -0800
committerBrian Behlendorf <[email protected]>2011-11-08 10:19:03 -0800
commit5547c2f1bf49802835fd6c52f15115ba344a2a8b (patch)
tree7e2314465d7a0ad5b6922c1d385b6c8ffa4e7979 /lib/libspl/asm-generic
parent591fb62f19ee2431983a4cbeb0d200b1b8e7daf5 (diff)
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 <[email protected]> Closes #367
Diffstat (limited to 'lib/libspl/asm-generic')
-rw-r--r--lib/libspl/asm-generic/Makefile.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libspl/asm-generic/Makefile.in b/lib/libspl/asm-generic/Makefile.in
index 8fed7b6ea..003b5eceb 100644
--- a/lib/libspl/asm-generic/Makefile.in
+++ b/lib/libspl/asm-generic/Makefile.in
@@ -42,6 +42,7 @@ am__aclocal_m4_deps = \
$(top_srcdir)/config/always-no-unused-but-set-variable.m4 \
$(top_srcdir)/config/kernel-bdev-block-device-operations.m4 \
$(top_srcdir)/config/kernel-bdev-logical-size.m4 \
+ $(top_srcdir)/config/kernel-bdi-setup-and-register.m4 \
$(top_srcdir)/config/kernel-bdi.m4 \
$(top_srcdir)/config/kernel-bio-empty-barrier.m4 \
$(top_srcdir)/config/kernel-bio-end-io-t-args.m4 \