diff options
Diffstat (limited to 'drivers/md/dm-crypt.c')
-rw-r--r-- | drivers/md/dm-crypt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/md/dm-crypt.c b/drivers/md/dm-crypt.c index 237ff8e9752a..9e1b72e8f7ef 100644 --- a/drivers/md/dm-crypt.c +++ b/drivers/md/dm-crypt.c | |||
@@ -2677,7 +2677,8 @@ static int crypt_ctr(struct dm_target *ti, unsigned int argc, char **argv) | |||
2677 | goto bad; | 2677 | goto bad; |
2678 | } | 2678 | } |
2679 | 2679 | ||
2680 | cc->bs = bioset_create(MIN_IOS, 0, BIOSET_NEED_BVECS); | 2680 | cc->bs = bioset_create(MIN_IOS, 0, (BIOSET_NEED_BVECS | |
2681 | BIOSET_NEED_RESCUER)); | ||
2681 | if (!cc->bs) { | 2682 | if (!cc->bs) { |
2682 | ti->error = "Cannot allocate crypt bioset"; | 2683 | ti->error = "Cannot allocate crypt bioset"; |
2683 | goto bad; | 2684 | goto bad; |