commit | 4e7ea65127acb4728b975e42764c32455a1aa9f5 | [log] [tgz] |
---|---|---|
author | Mike Snitzer <snitzer@redhat.com> | Fri Sep 14 01:16:20 2018 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Oct 10 06:54:28 2018 |
tree | db54864add6685f5e65b141f232c5122788662fb | |
parent | 07f79b39d474bab2288ef68dc8e64683758fa0ec [diff] |
dm thin metadata: fix __udivdi3 undefined on 32-bit commit 013ad043906b2befd4a9bfb06219ed9fedd92716 upstream. 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> Cc: Sudip Mukherjee <sudipm.mukherjee@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>