]> err.no Git - linux-2.6/commit
[PATCH] dm snapshot: allow zero chunk_size
authorMark McLoughlin <markmc@redhat.com>
Tue, 3 Oct 2006 08:15:25 +0000 (01:15 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 3 Oct 2006 15:04:14 +0000 (08:04 -0700)
commit4c7e3bf44d0ae227ea1ee87c2197212e65d043d7
tree658140b966d78f4709de10cd03e0bfdade6bc13e
parent92c060a692a0c3482cdfcaf346cb2f7572368895
[PATCH] dm snapshot: allow zero chunk_size

The chunk size of snapshots cannot be changed so it is redundant to require it
as a parameter when activating an existing snapshot.  Allow a value of zero in
this case and ignore it.  For a new snapshot, use a default value if zero is
specified.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/dm-exception-store.c
drivers/md/dm-snap.c
drivers/md/dm-snap.h