commit | 07fb10fad8a18108ca11bc1773a86173493cb092 | [log] [tgz] |
---|---|---|
author | David Anderson <dvander@google.com> | Wed Jan 23 19:24:03 2019 -0800 |
committer | David Anderson <dvander@google.com> | Wed Jan 23 19:24:03 2019 -0800 |
tree | 5a896c9ace7fcc807108a7897bc2564f0fed97b6 | |
parent | 20c01143e019c6679abbfd486d29ed718126c6ea [diff] |
Don't error on block size mismatches. liblp treats the term "block size" ambiguously when it compares the logical hardware block size with the file system block size (which for all intents and purposes must be 4K). This warning is thus spurious on devices with say a 512 logical block size. However, liblp's block size should at least be a multiple of this, so change the check accordingly. Bug: 123317012 Test: liblp_test gtest Change-Id: I0f41f6bae60a512ab8d313e487c28606daa661a6