)]}'
{
  "commit": "b353a6b821627053f82b4e7b907e824cb7a6879c",
  "tree": "a863bec4278a403bd63336b4f01b45794a987805",
  "parents": [
    "d22a69892bd8f29e3096f6f54c2c00d8aec2e796"
  ],
  "author": {
    "name": "Amit Shah",
    "email": "amit.shah@redhat.com",
    "time": "Thu Sep 02 18:38:29 2010 +0530"
  },
  "committer": {
    "name": "Rusty Russell",
    "email": "rusty@rustcorp.com.au",
    "time": "Thu Oct 21 17:44:03 2010 +1030"
  },
  "message": "virtio: console: Add reference counting for port struct\n\nWhen a port got hot-unplugged, when a port was open, any file operation\nafter the unplugging resulted in a crash. This is fixed by ref-counting\nthe port structure, and releasing it only when the file is closed.\n\nThis splits the unplug operation in two parts: first marks the port\nas unavailable, removes all the buffers in the vqs and removes the port\nfrom the per-device list of ports. The second stage, invoked when all\nreferences drop to zero, releases the chardev and frees all other memory.\n\nSigned-off-by: Amit Shah \u003camit.shah@redhat.com\u003e\nSigned-off-by: Rusty Russell \u003crusty@rustcorp.com.au\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "8a9c140d19be8ab58b9bb13de130afab06d3d87d",
      "old_mode": 33188,
      "old_path": "drivers/char/virtio_console.c",
      "new_id": "288701ccbf7a0219c9ea81ebd8cf59a14575191c",
      "new_mode": 33188,
      "new_path": "drivers/char/virtio_console.c"
    }
  ]
}
