commit | 013ad043906b2befd4a9bfb06219ed9fedd92716 | [log] [tgz] |
---|---|---|
author | Mike Snitzer <snitzer@redhat.com> | Thu Sep 13 21:16:20 2018 -0400 |
committer | Mike Snitzer <snitzer@redhat.com> | Mon Sep 17 11:49:34 2018 -0400 |
tree | acdb40e9deeef5a433b8c64533234bc49ea68f95 | |
parent | 7876320f88802b22d4e2daf7eb027dd14175a0f8 [diff] |
dm thin metadata: fix __udivdi3 undefined on 32-bit sector_div() is only viable for use with sector_t. dm_block_t is typedef'd to uint64_t -- so use div_u64() instead. Fixes: 3ab918281 ("dm thin metadata: try to avoid ever aborting transactions") Signed-off-by: Mike Snitzer <snitzer@redhat.com>