summaryrefslogtreecommitdiff
path: root/common/dynamic_partition_control_interface.h
diff options
context:
space:
mode:
authorKelvin Zhang <zhangkelvin@google.com>2020-11-06 16:07:45 -0500
committerKelvin Zhang <zhangkelvin@google.com>2020-11-09 17:54:51 -0500
commit4b28024b7b3a628830ce11319b4cc6a075a7262c (patch)
tree8b78a689226fb0b50438a434fc75621ccbb641bb /common/dynamic_partition_control_interface.h
parent7a2657510c0ff24afe282d8e061916ebac78cf27 (diff)
Rename PReadAll/PWriteAll for file descriptor ptr to ReadAll/WriteAll
Utils.cc contain 2 implementation of PReadAll: 1 for unix fd, and 1 for FileDescriptorPtr. However, the implementation for unix fd calls pread syscall under the hood, which does not change file offset. The implementation for FileDescriptorPtr DOES change file offset, making code inconsistent. For now we rename inconsistent functions to ReadAll/WriteAll. The next CL adds PReadAll/PWriteAll implementation for FileDescriptorPtr. Test: treehugger Change-Id: I2781b294f0f8e866275e1649e9b45d565d4cd5b8
Diffstat (limited to 'common/dynamic_partition_control_interface.h')
0 files changed, 0 insertions, 0 deletions