)]}'
{
  "commit": "2a5cd6e2fb1984cc83f08b3645bf394830ac7825",
  "tree": "14082324f971c3d8af26840caf9d68a4524269b7",
  "parents": [
    "083e58666ff5b3c5750d9a5c0560018b03cfb4b2"
  ],
  "author": {
    "name": "Alexander Gordeev",
    "email": "lasaine@lvk.cs.msu.su",
    "time": "Wed Jan 12 17:00:53 2011 -0800"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Thu Jan 13 08:03:20 2011 -0800"
  },
  "message": "pps: make idr lock a mutex and protect idr_pre_get\n\nNow pps_idr_lock is never used in interrupt context so we can replace\nspin_lock_irq/spin_unlock_irq with plain spin_lock/spin_unlock. But\nthere is also a potential race condition when someone can steal an id\nwhich was allocated by idr_pre_get before it is used. So convert spin\nlock to mutex and protect the whole id generation process.\n\nSigned-off-by: Alexander Gordeev \u003clasaine@lvk.cs.msu.su\u003e\nCc: Rodolfo Giometti \u003cgiometti@linux.it\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "79b44557813225fec09d2e902c111f774722aafd",
      "old_mode": 33188,
      "old_path": "drivers/pps/pps.c",
      "new_id": "9e15cf1da946c3aa01e3752aebea0a683a9b3b97",
      "new_mode": 33188,
      "new_path": "drivers/pps/pps.c"
    }
  ]
}
