commit | df96eee679ba28c98cf722fa7c9f4286ee1ed0bd | [log] [tgz] |
---|---|---|
author | Mikulas Patocka <mpatocka@redhat.com> | Fri Oct 16 23:18:17 2009 +0100 |
committer | Alasdair G Kergon <agk@redhat.com> | Fri Oct 16 23:18:17 2009 +0100 |
tree | 282c1368f3dff6ed0e0994210cc13c09b4680d66 | |
parent | 4c6fff445d7aa753957856278d4d93bcad6e2c14 [diff] |
dm snapshot: use unsigned integer chunk size Use unsigned integer chunk size. Maximum chunk size is 512kB, there won't ever be need to use 4GB chunk size, so the number can be 32-bit. This fixes compiler failure on 32-bit systems with large block devices. Cc: stable@kernel.org Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com> Reviewed-by: Jonathan Brassow <jbrassow@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>