Home
last modified time | relevance | path

Searched refs:expected_flag (Results 1 – 1 of 1) sorted by relevance

/system/update_engine/common/
Dutils.cc527 int expected_flag = read_only ? 1 : 0; in SetBlockDeviceReadOnly() local
530 if (rc == 0 && read_only_flag == expected_flag) in SetBlockDeviceReadOnly()
533 rc = ioctl(fd, BLKROSET, &expected_flag); in SetBlockDeviceReadOnly()
536 << " as read_only=" << expected_flag; in SetBlockDeviceReadOnly()