)]}'
{
  "commit": "c842e975520f8ab09e293cc92f51a1f396251fd5",
  "tree": "87102ee6a89cb30415927f43b7694e3ec5b127aa",
  "parents": [
    "5855fead9cc358adebd6bdeec202d040c623ae38"
  ],
  "author": {
    "name": "Steven Rostedt",
    "email": "srostedt@redhat.com",
    "time": "Mon Dec 19 18:44:44 2011 -0500"
  },
  "committer": {
    "name": "Steven Rostedt",
    "email": "rostedt@goodmis.org",
    "time": "Wed Dec 21 07:21:43 2011 -0500"
  },
  "message": "ftrace: Fix ftrace hash record update with notrace\n\nWhen disabling the \"notrace\" records, that means we want to trace them.\nIf the notrace_hash is zero, it means that we want to trace all\nrecords. But to disable a zero notrace_hash means nothing.\n\nThe check for the notrace_hash count was incorrect with:\n\n\tif (hash \u0026\u0026 !hash-\u003ecount)\n\t\treturn\n\nWith the correct comment above it that states that we do nothing\nif the notrace_hash has zero count. But !hash also means that\nthe notrace hash has zero count. I think this was done to\nprotect against dereferencing NULL. But if !hash is true, then\nwe go through the following loop without doing a single thing.\n\nFix it to:\n\n\tif (!hash || !hash-\u003ecount)\n\t\treturn;\n\nSigned-off-by: Steven Rostedt \u003crostedt@goodmis.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "dcd3a814d39b0a258578f15ad9807b38427647a2",
      "old_mode": 33188,
      "old_path": "kernel/trace/ftrace.c",
      "new_id": "a383d6c67bfae9222e8812f7037edac9e13b6453",
      "new_mode": 33188,
      "new_path": "kernel/trace/ftrace.c"
    }
  ]
}
