)]}'
{
  "commit": "a190887b58c32d19c2eee007c5eb8faa970a69ba",
  "tree": "deff588d04f3e42662484b0281e1beceb3cf9f4e",
  "parents": [
    "4e49627b9bc29a14b393c480e8c979e3bc922ef7"
  ],
  "author": {
    "name": "David Howells",
    "email": "dhowells@redhat.com",
    "time": "Sat Sep 05 11:17:07 2009 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Sat Sep 05 11:30:42 2009 -0700"
  },
  "message": "nommu: fix error handling in do_mmap_pgoff()\n\nFix the error handling in do_mmap_pgoff().  If do_mmap_shared_file() or\ndo_mmap_private() fail, we jump to the error_put_region label at which\npoint we cann __put_nommu_region() on the region - but we haven\u0027t yet\nadded the region to the tree, and so __put_nommu_region() may BUG\nbecause the region tree is empty or it may corrupt the region tree.\n\nTo get around this, we can afford to add the region to the region tree\nbefore calling do_mmap_shared_file() or do_mmap_private() as we keep\nnommu_region_sem write-locked, so no-one can race with us by seeing a\ntransient region.\n\nSigned-off-by: David Howells \u003cdhowells@redhat.com\u003e\nAcked-by: Pekka Enberg \u003cpenberg@cs.helsinki.fi\u003e\nAcked-by: Paul Mundt \u003clethal@linux-sh.org\u003e\nCc: Mel Gorman \u003cmel@csn.ul.ie\u003e\nAcked-by: Greg Ungerer \u003cgerg@snapgear.com\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": "4bde489ec4316ca41046f5826f3a57565755d90d",
      "old_mode": 33188,
      "old_path": "mm/nommu.c",
      "new_id": "66e81e7e9fe98f6871cb0d159e13c6942ff8e44f",
      "new_mode": 33188,
      "new_path": "mm/nommu.c"
    }
  ]
}
