)]}'
{
  "commit": "967e35dcc9ac194b4a6fad69a5a51f93d69bb0d1",
  "tree": "218c6fc093ec110ee6f4c5d7f0aae448e5f82173",
  "parents": [
    "a1da4dfe35bc36c3bc9716d995c85b7983c38a76"
  ],
  "author": {
    "name": "Tejun Heo",
    "email": "htejun@gmail.com",
    "time": "Wed Jul 18 16:38:11 2007 +0900"
  },
  "committer": {
    "name": "Greg Kroah-Hartman",
    "email": "gregkh@suse.de",
    "time": "Wed Jul 18 15:49:50 2007 -0700"
  },
  "message": "sysfs: cosmetic clean up on node creation failure paths\n\nNode addition failure is detected by testing return value of\nsysfs_addfm_finish() which returns the number of added and removed\nnodes.  As the function is called as the last step of addition right\non top of error handling block, the if blocks looked like the\nfollowing.\n\n\tif (sysfs_addrm_finish(\u0026acxt))\n\t\tsuccess handling, usually return;\n\t/* fall through to error handling */\n\nThis is the opposite of usual convention in sysfs and makes the code\ndifficult to understand.  This patch inverts the test and makes those\nblocks look more like others.\n\nSigned-off-by: Tejun Heo \u003chtejun@gmail.com\u003e\nCc: Gabriel C \u003cnix.or.die@googlemail.com\u003e\nCc: Miles Lane \u003cmiles.lane@gmail.com\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@suse.de\u003e\n\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2e6775a836f287e4f7f1e8fe745eb31ed7a4be25",
      "old_mode": 33188,
      "old_path": "fs/sysfs/dir.c",
      "new_id": "048e6054c2fdb7b60f35945eb87067463eee5896",
      "new_mode": 33188,
      "new_path": "fs/sysfs/dir.c"
    },
    {
      "type": "modify",
      "old_id": "cc497994b2a83dd91931d8d8b2f67bcc30aea80c",
      "old_mode": 33188,
      "old_path": "fs/sysfs/file.c",
      "new_id": "3e1cc062a74030687013da9c386476f3a164975f",
      "new_mode": 33188,
      "new_path": "fs/sysfs/file.c"
    },
    {
      "type": "modify",
      "old_id": "d056e9695cd69d43c24ef47759ece7ecd27c8fce",
      "old_mode": 33188,
      "old_path": "fs/sysfs/symlink.c",
      "new_id": "4ce687f0b5d01751dfb8f8aa189c84360eaab39e",
      "new_mode": 33188,
      "new_path": "fs/sysfs/symlink.c"
    }
  ]
}
