commit | 602d1657c603eedd7379a8bcde1ad3a2972ecc5f | [log] [tgz] |
---|---|---|
author | Sami Tolvanen <samitolvanen@google.com> | Tue Jun 21 11:02:42 2016 -0700 |
committer | Mike Snitzer <snitzer@redhat.com> | Fri Jul 01 23:29:08 2016 -0400 |
tree | 1e391897d0ad8cddcbe5cdb4544166e696762088 | |
parent | 028b39e314dd8b4ab8d3ac401285db40ab1f39d8 [diff] |
dm verity fec: fix block calculation do_div was replaced with div64_u64 at some point, causing a bug with block calculation due to incompatible semantics of the two functions. Signed-off-by: Sami Tolvanen <samitolvanen@google.com> Fixes: a739ff3f543a ("dm verity: add support for forward error correction") Cc: stable@vger.kernel.org # v4.5+ Signed-off-by: Mike Snitzer <snitzer@redhat.com>