)]}'
{
  "commit": "1572ca2a842a839b78780d9074d2f140b31907cc",
  "tree": "1628fd4699c8bd685cef8d47906af7eee05efc7a",
  "parents": [
    "94dfb0d6334a281a979fe5bee187a3698a4dc176"
  ],
  "author": {
    "name": "Dmitry Torokhov",
    "email": "dmitry.torokhov@gmail.com",
    "time": "Tue Oct 13 23:37:30 2009 -0700"
  },
  "committer": {
    "name": "Dmitry Torokhov",
    "email": "dmitry.torokhov@gmail.com",
    "time": "Wed Oct 14 00:36:33 2009 -0700"
  },
  "message": "Input: fix locking issue in /proc/bus/input/ handlers\n\ninput_devices_seq_start() uses mutex_lock_interruptible() to acquire\nthe input_mutex, but doesn\u0027t properly handle the situation when the\ncall fails (for example due to interrupt). Instead of returning NULL\n(which indicates that there is no more data) we should return\nERR_PTR()-encoded error.\n\nWe also need explicit flag indicating whether input_mutex was acquired\nsince input_devices_seq_stop() is called whether input_devices_seq_start()\nwas successful or not.\n\nThe same applies to input_handlers_seq_start().\n\nReported-by: iceberg \u003cstrakh@ispras.ru\u003e\nReviewed-by: Jiri Kosina \u003cjkosina@suse.cz\u003e\nSigned-off-by: Dmitry Torokhov \u003cdtor@mail.ru\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b8ed4294fccdb5aa8e7aea0bbfe88d82e20bdeb1",
      "old_mode": 33188,
      "old_path": "drivers/input/input.c",
      "new_id": "60a4eaabb7d74d8684d7f38a152a707598097454",
      "new_mode": 33188,
      "new_path": "drivers/input/input.c"
    }
  ]
}
