]> Git Repo - linux.git/commit
dm snapshot: require non zero chunk size by end of ctr
authorMikulas Patocka <[email protected]>
Fri, 16 Oct 2009 22:18:16 +0000 (23:18 +0100)
committerAlasdair G Kergon <[email protected]>
Fri, 16 Oct 2009 22:18:16 +0000 (23:18 +0100)
commit3f2412dc85260e5aae7ebb03bf50d5b1407e3083
treec736dc9a52677e29b4dfeb3061da5111edbb9454
parentf88fb981183e71daf40bbd84bc8251bbf7b59e19
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: [email protected]
Signed-off-by: Mikulas Patocka <[email protected]>
Reviewed-by: Jonathan Brassow <[email protected]>
Reviewed-by: Mike Snitzer <[email protected]>
Signed-off-by: Alasdair G Kergon <[email protected]>
drivers/md/dm-snap.c
This page took 0.050449 seconds and 4 git commands to generate.