diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2009-10-16 22:18:16 (GMT) |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2009-10-16 22:18:16 (GMT) |
commit | 3f2412dc85260e5aae7ebb03bf50d5b1407e3083 (patch) | |
tree | c736dc9a52677e29b4dfeb3061da5111edbb9454 /drivers/md/raid5.c | |
parent | f88fb981183e71daf40bbd84bc8251bbf7b59e19 (diff) | |
download | linux-fsl-qoriq-3f2412dc85260e5aae7ebb03bf50d5b1407e3083.tar.xz |
dm snapshot: require non zero chunk size by end of ctr
If we are creating snapshot with memory-stored exception store, fail if
the user didn't specify chunk size. Zero chunk size would probably crash
a lot of places in the rest of snapshot code.
Cc: stable@kernel.org
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Reviewed-by: Jonathan Brassow <jbrassow@redhat.com>
Reviewed-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/md/raid5.c')
0 files changed, 0 insertions, 0 deletions