From: Brian Behlendorf Date: Tue, 8 Nov 2011 00:39:03 +0000 (-0800) Subject: Simplify BDI integration X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=commitdiff_plain;ds=sidebyside;h=5547c2f1bf49802835fd6c52f15115ba344a2a8b;hp=5547c2f1bf49802835fd6c52f15115ba344a2a8b;p=zfs.git 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 Closes #367 ---