diff options
author | Mike Snitzer <snitzer@redhat.com> | 2018-09-13 21:16:20 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-10-10 08:52:13 +0200 |
commit | 93ae8552ec98405e84d194f9c5b084996c20ccdf (patch) | |
tree | 60601aa1df93ee0c46d413cbf8c4cdd5248b6614 /mm/filemap.c | |
parent | 20ba8a53a1ef1cffd0f795206d69181572ae84e8 (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>
Diffstat (limited to 'mm/filemap.c')
0 files changed, 0 insertions, 0 deletions