)]}'
{
  "commit": "bfc5ecdf48b529f6a2bd98ba26bfac39ca8cd8a5",
  "tree": "4b62c928d685a9badbdcb1a1048479ee9b8594f9",
  "parents": [
    "c06cb8b1c4d25e5b4d7a2d7c2462619de1e0dbc4"
  ],
  "author": {
    "name": "Alasdair G Kergon",
    "email": "agk@redhat.com",
    "time": "Wed Nov 08 17:44:42 2006 -0800"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@g5.osdl.org",
    "time": "Wed Nov 08 18:29:23 2006 -0800"
  },
  "message": "[PATCH] dm: fix find_device race\n\nThere is a race between dev_create() and find_device().\n\nIf the mdptr has not yet been stored against a device, find_device() needs to\nbehave as though no device was found.  It already returns NULL, but there is a\ndm_put() missing: it must drop the reference dm_get_md() took.\n\nThe bug was introduced by dm-fix-mapped-device-ref-counting.patch.\n\nIt manifests itself if another dm ioctl attempts to reference a newly-created\ndevice while the device creation ioctl is still running.  The consequence is\nthat the device cannot be removed until the machine is rebooted.  Certain udev\nconfigurations can lead to this happening.\n\nSigned-off-by: Alasdair G Kergon \u003cagk@redhat.com\u003e\nCc: \u003cdm-devel@redhat.com\u003e\nSigned-off-by: Andrew Morton \u003cakpm@osdl.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@osdl.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d13bb15a8a02981f69706048d32bfc64b83b73c1",
      "old_mode": 33188,
      "old_path": "drivers/md/dm-ioctl.c",
      "new_id": "4510ad8f971c366f4979403f4b0e13075f9d944b",
      "new_mode": 33188,
      "new_path": "drivers/md/dm-ioctl.c"
    }
  ]
}
