Loading drivers/md/dm-req-crypt.c +3 −2 Original line number Diff line number Diff line Loading @@ -1267,10 +1267,11 @@ static int req_crypt_ctr(struct dm_target *ti, unsigned int argc, char **argv) BUG_ON(!req_scatterlist_pool); /* * If underlying device supports flush, mapped target should * also allow it * If underlying device supports flush/discard, mapped target * should also allow it */ ti->num_flush_bios = 1; ti->num_discard_bios = 1; err = 0; DMINFO("%s: Mapping block_device %s to dm-req-crypt ok!\n", Loading Loading
drivers/md/dm-req-crypt.c +3 −2 Original line number Diff line number Diff line Loading @@ -1267,10 +1267,11 @@ static int req_crypt_ctr(struct dm_target *ti, unsigned int argc, char **argv) BUG_ON(!req_scatterlist_pool); /* * If underlying device supports flush, mapped target should * also allow it * If underlying device supports flush/discard, mapped target * should also allow it */ ti->num_flush_bios = 1; ti->num_discard_bios = 1; err = 0; DMINFO("%s: Mapping block_device %s to dm-req-crypt ok!\n", Loading