)]}'
{
  "commit": "1f5e31d7e55ac7fbd4ec5e5b20c8868b0e4564c9",
  "tree": "713d0ace63c95da9b989aafce8ec84ebb1d1cbc3",
  "parents": [
    "afd8d0f940ba5078f38e435440089117ac7d9eb4"
  ],
  "author": {
    "name": "Andrea Righi",
    "email": "righi.andrea@gmail.com",
    "time": "Wed Feb 04 15:12:03 2009 -0800"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Thu Feb 05 12:56:46 2009 -0800"
  },
  "message": "fbmem: don\u0027t call copy_from/to_user() with mutex held\n\nAvoid calling copy_from/to_user() with fb_info-\u003elock mutex held in fbmem\nioctl().\n\nfb_mmap() is called under mm-\u003emmap_sem (A) held, that also acquires\nfb_info-\u003elock (B); fb_ioctl() takes fb_info-\u003elock (B) and does\ncopy_from/to_user() that might acquire mm-\u003emmap_sem (A), causing a\ndeadlock.\n\nNOTE: it doesn\u0027t push down the fb_info-\u003elock in each own driver\u0027s\nfb_ioctl(), so there are still potential deadlocks elsewhere.\n\nSigned-off-by: Andrea Righi \u003crighi.andrea@gmail.com\u003e\nCc: Dave Jones \u003cdavej@redhat.com\u003e\nCc: \"Rafael J. Wysocki\" \u003crjw@sisk.pl\u003e\nCc: Johannes Weiner \u003channes@saeurebad.de\u003e\nCc: Krzysztof Helt \u003ckrzysztof.h1@wp.pl\u003e\nCc: Harvey Harrison \u003charvey.harrison@gmail.com\u003e\nCc: Stefan Richter \u003cstefanr@s5r6.in-berlin.de\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": "91b78e691505d715b67de8c990f48ea8a1b420ea",
      "old_mode": 33188,
      "old_path": "drivers/video/fbcmap.c",
      "new_id": "f53b9f1d6aba23830d3b5c1a551054cf9f8b4538",
      "new_mode": 33188,
      "new_path": "drivers/video/fbcmap.c"
    },
    {
      "type": "modify",
      "old_id": "756efeb91abc09bc3635387840f2b686f724d1fc",
      "old_mode": 33188,
      "old_path": "drivers/video/fbmem.c",
      "new_id": "cfd9dce1ce0b666627b6306e0eb693f669e154f5",
      "new_mode": 33188,
      "new_path": "drivers/video/fbmem.c"
    },
    {
      "type": "modify",
      "old_id": "818fe21257e8c62acdb8847be5af682c1cc186b7",
      "old_mode": 33188,
      "old_path": "include/linux/fb.h",
      "new_id": "31527e17076b7c8697dcf7fdeb9717d8dead779a",
      "new_mode": 33188,
      "new_path": "include/linux/fb.h"
    }
  ]
}
