kernel - dm_crypt - Pre-zero control structures, disable B_HASBOGUS handling
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 15 Aug 2010 15:24:13 +0000 (08:24 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 15 Aug 2010 15:24:13 +0000 (08:24 -0700)
commitc98abe57bfd218907c4a69bad6686b318bc8f5dc
tree8b3a5daad0216e51ec753199da4ce63fbf661ad6
parent7608650f2d0c2fb8e1dea0d0d868da353d31ea86
kernel - dm_crypt - Pre-zero control structures, disable B_HASBOGUS handling

* Don't take any chances, pre-zero control structures and make sure the
  dmtc is completely initialized.

* Comment out the B_HASBOGUS read-decrypt bogus_page handling code.
  It doesn't work yet and it turns out that it might not even be
  necessary because the decrypter works on 512-byte sub blocks.
sys/dev/disk/dm/dm_target_crypt.c