)]}'
{
  "commit": "4b30ee58ee64c64f59fd876e4afa6ed82caef3a4",
  "tree": "52d26225aec86ae39ed559882a30bec10fdb2031",
  "parents": [
    "e34ff4906199d2ebd248ae897ae34f52bea151c9"
  ],
  "author": {
    "name": "Tejun Heo",
    "email": "tj@kernel.org",
    "time": "Wed Sep 11 22:29:06 2013 -0400"
  },
  "committer": {
    "name": "Greg Kroah-Hartman",
    "email": "gregkh@linuxfoundation.org",
    "time": "Thu Sep 26 15:30:22 2013 -0700"
  },
  "message": "sysfs: remove ktype-\u003enamespace() invocations in symlink code\n\nThere\u0027s no reason for sysfs to be calling ktype-\u003enamespace().  It is\nbackwards, obfuscates what\u0027s going on and unnecessarily tangles two\nseparate layers.\n\nThere are two places where symlink code calls ktype-\u003enamespace().\n\n* sysfs_do_create_link_sd() calls it to find out the namespace tag of\n  the target directory.  Unless symlinking races with cross-namespace\n  renaming, this equals @target_sd-\u003es_ns.\n\n* sysfs_rename_link() uses it to find out the new namespace to rename\n  to and the new namespace can be different from the existing one.\n  The function is renamed to sysfs_rename_link_ns() with an explicit\n  @ns argument and the ktype-\u003enamespace() invocation is shifted to the\n  device layer.\n\nWhile this patch replaces ktype-\u003enamespace() invocation with the\nrecorded result in @target_sd, this shouldn\u0027t result in any behvior\ndifference.\n\nSigned-off-by: Tejun Heo \u003ctj@kernel.org\u003e\nCc: Eric W. Biederman \u003cebiederm@xmission.com\u003e\nCc: Kay Sievers \u003ckay@vrfy.org\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@linuxfoundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c7cfadcf67521d82f7d977979631e4805f5a31e9",
      "old_mode": 33188,
      "old_path": "drivers/base/core.c",
      "new_id": "3335000be2dcaecd318135b3b8467ff728cd2e12",
      "new_mode": 33188,
      "new_path": "drivers/base/core.c"
    },
    {
      "type": "modify",
      "old_id": "2dd4507d9edd675b78a5c857d337a8abc9cf76cd",
      "old_mode": 33188,
      "old_path": "fs/sysfs/symlink.c",
      "new_id": "12d58ada3e6d79e2b07f0affdcbba9ecd8730ce7",
      "new_mode": 33188,
      "new_path": "fs/sysfs/symlink.c"
    },
    {
      "type": "modify",
      "old_id": "7f56bad3be8204f38e11e98c62dd3d15eacb6a29",
      "old_mode": 33188,
      "old_path": "include/linux/sysfs.h",
      "new_id": "c792f73ac7fac5a05ebe8a34998342c545c2360b",
      "new_mode": 33188,
      "new_path": "include/linux/sysfs.h"
    }
  ]
}
