commit | 9f760f8d4185d231ef2d085d2a7664046250d7e5 | [log] [tgz] |
---|---|---|
author | Douglas Anderson <dianders@google.com> | Tue Oct 15 14:22:02 2024 -0700 |
committer | Douglas Anderson <dianders@google.com> | Tue Nov 05 15:55:26 2024 -0800 |
tree | 02349e29c394c083e03db4808e56455776faa56e | |
parent | e53e50e3fa8e73b86163806d6f8eeb9eadf28bb7 [diff] |
init: Reorder GetBlockDeviceSymlinks() so FindDmDevice() is first By moving FindDmDevice() it's easier to unify the code with the IsBootDevice() function. In this case the order doesn't matter since anything with the uevent path "/devices/virtual/block/dm-" (the only devices FindDmDevice() looks at) won't match any of the other sections of the if/then/else test. Bug: 316324155 Test: Build & boot Change-Id: I819eb60aa5077f0eb2c2f2783b152e43a52ba8b7