)]}'
{
  "commit": "35fc51e7a5056889421270c1fb63d8ec45fbccf4",
  "tree": "775462a1cc541b5442648343293f50263f5beb45",
  "parents": [
    "8c27eba54970c6ebbb408186e5baa2274435e869"
  ],
  "author": {
    "name": "Aneesh Kumar K.V",
    "email": "aneesh.kumar@linux.vnet.ibm.com",
    "time": "Wed Nov 21 12:25:41 2007 +0100"
  },
  "committer": {
    "name": "Jens Axboe",
    "email": "jens.axboe@oracle.com",
    "time": "Tue Nov 27 09:19:39 2007 +0100"
  },
  "message": "blktrace: Make sure BLKTRACETEARDOWN does the full cleanup.\n\nif blktrace program segfault it will not be able\nto call BLKTRACETEARDOWN. Now if we run the blktrace\nagain that would result in a failure to create the\nblock/\u003cdevice\u003e debugfs directory.This will result\nin blk_remove_root() to be called which will set\nblk_tree_root to NULL. But the  debugfs block dir\nstill exist because it contain subdirectory.\n\nNow if we try to fix it using BLKTRACETEARDOWN\nit won\u0027t work because blk_tree_root is NULL.\n\nFix the same.\n\nTested as below\n\nroot@qemu-image:/home/kvaneesh/blktrace# ./blktrace  -d /dev/hdc\nSegmentation fault\nroot@qemu-image:/home/kvaneesh/blktrace# ./blktrace  -d /dev/hdc\nBLKTRACESETUP: No such file or directory\nFailed to start trace on /dev/hdc\nroot@qemu-image:/home/kvaneesh/blktrace# ./blktrace  -k /dev/hdc\nroot@qemu-image:/home/kvaneesh/blktrace# ./blktrace  -d /dev/hdc\n\nSigned-off-by: Aneesh Kumar K.V \u003caneesh.kumar@linux.vnet.ibm.com\u003e\nSigned-off-by: Jens Axboe \u003cjens.axboe@oracle.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d00ac3993c188964278bbba6bb6b3bc7827b3544",
      "old_mode": 33188,
      "old_path": "block/blktrace.c",
      "new_id": "498a0a54a6aa664f27edce4a32d2fb2d37f4c110",
      "new_mode": 33188,
      "new_path": "block/blktrace.c"
    }
  ]
}
