+9
−6
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
sector_div is very slow, so we introduce a variable sector_shift and use shift instead of sector_div. Signed-off-by:Mikulas Patocka <mpatocka@redhat.com> Signed-off-by:
Mike Snitzer <snitzer@redhat.com> (cherry picked from commit ff3af92b4461be773337111daea80bb91b2cd545) Conflicts: drivers/md/dm-crypt.c Change-Id: Ie2d31a58985e7284e094c940e282f304e325a48f Bug: 112008522 Test: As series, see Ie247fd41b11adcf8520de0b1554568a1b7155860 Signed-off-by:
Eric Biggers <ebiggers@google.com>