diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2008-04-24 21:41:50 +0100 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2008-04-25 13:26:34 +0100 |
commit | 924362629bf5645aee5f49f8a0d0d5b193e65997 (patch) | |
tree | 8233d321e025c0fa057ad4067ab6f4e865d74fe0 /include/asm-cris/pgalloc.h | |
parent | b69d3987f4360a5e7e9e55465b3cdd0cc204b79e (diff) |
dm snapshot: fix chunksize sector conversion
If a snapshot has a smaller chunksize than the page size the
conversion to pages currently returns 0 instead of 1, causing:
kernel BUG in mempool_resize.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Milan Broz <mbroz@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Cc: stable@kernel.org
Diffstat (limited to 'include/asm-cris/pgalloc.h')
0 files changed, 0 insertions, 0 deletions