)]}'
{
  "commit": "bb01443e2cdad4ff5b98e00252e93110d00f4392",
  "tree": "fb57bb214b5721edeb64f050bd4ceeb0892d1eef",
  "parents": [
    "e38c79e0825b673d97cecfb36bae9e859e724f1b"
  ],
  "author": {
    "name": "Lars-Peter Clausen",
    "email": "lars@metafoo.de",
    "time": "Mon Dec 19 15:23:45 2011 +0100"
  },
  "committer": {
    "name": "Greg Kroah-Hartman",
    "email": "gregkh@suse.de",
    "time": "Thu Dec 22 13:38:08 2011 -0800"
  },
  "message": "staging:iio: Make sure a device is only opened once at a time\n\nOur buffer implementation does not support multiple concurrent readers. So we\nhave to ensure that a device is only opened once at a time. So do the same thing\nwe do for the event fd and introduce a per device busy flag. The flag gets set\nwhen opening the device and gets cleared when closing the device. If a open is\nattempted while the busy flag is set we return -EBUSY.\n\nAcked-by: Jonathan Cameron \u003cjic23@kernel.org\u003e\nSigned-off-by: Lars-Peter Clausen \u003clars@metafoo.de\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@suse.de\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "45b6d759c2e7f68098fe8966ef03bfbdab9798f2",
      "old_mode": 33188,
      "old_path": "drivers/staging/iio/iio.h",
      "new_id": "be6ced31f65e6dd057c47419799432619d69aceb",
      "new_mode": 33188,
      "new_path": "drivers/staging/iio/iio.h"
    },
    {
      "type": "modify",
      "old_id": "2eef85fa38c7957d7fb2458ce9e61251eac9fb82",
      "old_mode": 33188,
      "old_path": "drivers/staging/iio/industrialio-core.c",
      "new_id": "12d1576a076693b5a04017165f1db6f6e33d6558",
      "new_mode": 33188,
      "new_path": "drivers/staging/iio/industrialio-core.c"
    }
  ]
}
