commit | 57b23d25eb7cebf58acbe8d9bbdebc2bb07d7b9a | [log] [tgz] |
---|---|---|
author | Konstantin Vyshetsky <vkon@google.com> | Fri Mar 18 10:25:46 2022 -0700 |
committer | Konstantin Vyshetsky <vkon@google.com> | Mon Mar 28 10:57:03 2022 -0700 |
tree | 21108c29476462afdbd1939cdc39e31b9dd99f90 | |
parent | 1cee2ed2397b173b04d25c51d65aeb03cee3cb00 [diff] |
fastbootd: reset file descriptor on unaligned writes Writes on file descriptors opened with O_DIRECT will fail if the buffer is not page aligned. This CL will reset the file descriptor without the O_DIRECT flag for such instances. Bug: 225108941 Signed-off-by: Konstantin Vyshetsky <vkon@google.com> Change-Id: I841c84f5d2c0b9435b394c48b1bfcc2d51d771bb