)]}'
{
  "commit": "030c1d2bfcc2187650fb975456ca0b61a5bb77f4",
  "tree": "40ed27ce25cf8cbb6b8d3fdb8e25accc17b098c3",
  "parents": [
    "8c0e3998f5b71e68fe6b6e489a92e052715e563c"
  ],
  "author": {
    "name": "Eric W. Biederman",
    "email": "ebiederm@xmission.com",
    "time": "Thu May 08 14:41:00 2008 -0700"
  },
  "committer": {
    "name": "Greg Kroah-Hartman",
    "email": "gregkh@suse.de",
    "time": "Thu Oct 16 09:24:52 2008 -0700"
  },
  "message": "kobject: Fix kobject_rename and !CONFIG_SYSFS\n\nWhen looking at kobject_rename I found two bugs with\nthat exist when sysfs support is disabled in the kernel.\n\nkobject_rename does not change the name on the kobject when\nsysfs support is not compiled in.\n\nkobject_rename without locking attempts to check the\nvalidity of a rename operation, which the kobject layer\nsimply does not have the infrastructure to do.\n\nThis patch documents the previously unstated requirement of\nkobject_rename that is the responsibility of the caller to\nprovide mutual exclusion and to be certain that the new_name\nfor the kobject is valid.\n\nThis patch modifies sysfs_rename_dir in !CONFIG_SYSFS case\nto call kobject_set_name to actually change the kobject_name.\n\nThis patch removes the bogus and misleading check in kobject_rename\nthat attempts to see if a rename is valid.  The check is bogus\nbecause we do not have the proper locking.  The check is misleading\nbecause it looks like we can and do perform checking at the kobject\nlevel that we don\u0027t.\n\nSigned-off-by: Eric W. Biederman \u003cebiederm@xmission.com\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@suse.de\u003e\n\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "51a8021ee532bc03e4e530dd724f3e42ae737bc4",
      "old_mode": 33188,
      "old_path": "Documentation/kobject.txt",
      "new_id": "f5d2aad65a672ce65082769b835d621bac11e59a",
      "new_mode": 33188,
      "new_path": "Documentation/kobject.txt"
    },
    {
      "type": "modify",
      "old_id": "9649d1c422a4bd1abbc71ef7849d7b02193fc52a",
      "old_mode": 33188,
      "old_path": "drivers/base/core.c",
      "new_id": "8c2cc2648f5a5c0ec330df4991f75b6be07131ae",
      "new_mode": 33188,
      "new_path": "drivers/base/core.c"
    },
    {
      "type": "modify",
      "old_id": "b330e289d71f280f7bb6ca3af431a733039ac420",
      "old_mode": 33188,
      "old_path": "include/linux/sysfs.h",
      "new_id": "39924a9622072fa8b96c5a046ec47c4182876cc2",
      "new_mode": 33188,
      "new_path": "include/linux/sysfs.h"
    },
    {
      "type": "modify",
      "old_id": "fbf0ae28237672a6fafdbbf29e481d76c45ddd11",
      "old_mode": 33188,
      "old_path": "lib/kobject.c",
      "new_id": "ae6bb900bfb60823e7ef71898154f5beb55cdd1c",
      "new_mode": 33188,
      "new_path": "lib/kobject.c"
    }
  ]
}
