)]}'
{
  "commit": "cda796a3d572059d64f5429dfc1d00ca6fcbaf8d",
  "tree": "622c2b4d01d99e6c26a4f0ea554f866151becb2f",
  "parents": [
    "71183c94804e8e19be32acccc8a019ffb445ec2b"
  ],
  "author": {
    "name": "Matt Mackall",
    "email": "mpm@selenic.com",
    "time": "Tue Jan 06 14:42:55 2009 -0800"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Tue Jan 06 15:59:30 2009 -0800"
  },
  "message": "random: don\u0027t try to look at entropy_count outside the lock\n\nAs a non-atomic value, it\u0027s only safe to look at entropy_count when the\npool lock is held, so we move the BUG_ON inside the lock for correctness.\n\nAlso remove the spurious comment.  It\u0027s ok for entropy_count to\ntemporarily exceed POOLBITS so long as it\u0027s left in a consistent state\nwhen the lock is released.\n\nThis is a more correct, simple, and idiomatic fix for the bug in\n8b76f46a2db.  I\u0027ve left the reorderings introduced by that patch in place\nas they\u0027re harmless, even though they don\u0027t properly deal with potential\natomicity issues.\n\nSigned-off-by: Matt Mackall \u003cmpm@selenic.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": "c7afc068c28dcf6a64306754953682b0f9cfb70e",
      "old_mode": 33188,
      "old_path": "drivers/char/random.c",
      "new_id": "7c13581ca9cd6ac1ea4a2d54e80397831cebd75f",
      "new_mode": 33188,
      "new_path": "drivers/char/random.c"
    }
  ]
}
