Home
last modified time | relevance | path

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

/system/update_engine/common/
Dutils.cc590 int expected_flag = read_only ? 1 : 0; in SetBlockDeviceReadOnly() local
593 if (rc == 0 && read_only_flag == expected_flag) in SetBlockDeviceReadOnly()
596 rc = ioctl(fd, BLKROSET, &expected_flag); in SetBlockDeviceReadOnly()
599 << " as read_only=" << expected_flag; in SetBlockDeviceReadOnly()