)]}'
{
  "commit": "2e1de4f9f0457cd6117ddb22ffef72c8e2fbd4f3",
  "tree": "3bae85341246871d28f9f843491439c6973de3dd",
  "parents": [
    "961c25aba9898ac2e1629c745914e4c2f2a68301"
  ],
  "author": {
    "name": "Alex Deymo",
    "email": "deymo@google.com",
    "time": "Fri Mar 25 18:48:22 2016 -0700"
  },
  "committer": {
    "name": "Alex Deymo",
    "email": "deymo@google.com",
    "time": "Tue Apr 12 19:35:01 2016 -0700"
  },
  "message": "Mark block device as read-only before mounting.\n\nMounting a block device as read-only still allows the filesystem to\nwrite to the block device, while keeping the user-facing filesystem\ninterface \"read-only\". This behavior will make dm-verity to fail after\nreboot if any block is modified during postinstall.\n\nThis patch marks the block device as read-only before mounting it, and\nmarks them read-only or read-write before using them during the update.\n\nBug: 27859604\nTEST\u003dAdded logging and deployed an update to brillo, devices are marked RO/RW as needed during a delta update.\n\n(cherry picked from commit 5fb356cac8a87c62fa83005d99370aa2f8416064)\n\nChange-Id: I8797c35514e1f38c2a0395cedc8e1dce53e28350\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "304aba2f856022382fbe5449d9d92fc09a43f04b",
      "old_mode": 33188,
      "old_path": "common/utils.cc",
      "new_id": "5d15da0b0690f4f50dc7f5e4a95905a4216164cf",
      "new_mode": 33188,
      "new_path": "common/utils.cc"
    },
    {
      "type": "modify",
      "old_id": "686f117ad6c99a2e520f78fc6202df2eaddc9d15",
      "old_mode": 33188,
      "old_path": "common/utils.h",
      "new_id": "88c33b7dead1423c161219dc8cceea8a391823b8",
      "new_mode": 33188,
      "new_path": "common/utils.h"
    },
    {
      "type": "modify",
      "old_id": "e2613da04c57630ded0fbf85258926b59f3e3cbe",
      "old_mode": 33188,
      "old_path": "payload_consumer/delta_performer.cc",
      "new_id": "faf67a0e5d507ba8aa0a77e766eb2823296ccdbd",
      "new_mode": 33188,
      "new_path": "payload_consumer/delta_performer.cc"
    },
    {
      "type": "modify",
      "old_id": "db1ec3c89a801634b7e225c7c8a9f36b1c8f554a",
      "old_mode": 33188,
      "old_path": "payload_consumer/postinstall_runner_action.cc",
      "new_id": "98f4eaf2e995f3a3c29b56edd8ef393a7a57a7b8",
      "new_mode": 33188,
      "new_path": "payload_consumer/postinstall_runner_action.cc"
    }
  ]
}
