git: kernel - dm_crypt - Pre-zero control structures, disable B_HASBOGUS handling

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Aug 15 08:26:49 PDT 2010


commit c98abe57bfd218907c4a69bad6686b318bc8f5dc
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Aug 15 08:24:13 2010 -0700

    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.

Summary of changes:
 sys/dev/disk/dm/dm_target_crypt.c |   67 +++++++++++++++++++++++++++---------
 1 files changed, 50 insertions(+), 17 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c98abe57bfd218907c4a69bad6686b318bc8f5dc


-- 
DragonFly BSD source repository





More information about the Commits mailing list