)]}'
{
  "commit": "8f5f02c460b7ca74ce55ce126ce0c1e58a3f923d",
  "tree": "de4f933fe250bd2ba71727f535432a82ef68883b",
  "parents": [
    "cbe6ef1d2622e08e272600b3cb6040bed60f0450"
  ],
  "author": {
    "name": "NeilBrown",
    "email": "neilb@suse.de",
    "time": "Wed Feb 16 13:58:51 2011 +1100"
  },
  "committer": {
    "name": "NeilBrown",
    "email": "neilb@suse.de",
    "time": "Wed Feb 16 13:58:51 2011 +1100"
  },
  "message": "md: correctly handle probe of an \u0027mdp\u0027 device.\n\n\u0027mdp\u0027 devices are md devices with preallocated device numbers\nfor partitions. As such it is possible to mknod and open a partition\nbefore opening the whole device.\n\nthis causes  md_probe() to be called with a device number of a\npartition, which in-turn calls mddev_find with such a number.\n\nHowever mddev_find expects the number of a \u0027whole device\u0027 and\ndoes the wrong thing with partition numbers.\n\nSo add code to mddev_find to remove the \u0027partition\u0027 part of\na device number and just work with the \u0027whole device\u0027.\n\nThis patch addresses https://bugzilla.kernel.org/show_bug.cgi?id\u003d28652\n\nReported-by: hkmaly@bigfoot.com\nSigned-off-by: NeilBrown \u003cneilb@suse.de\u003e\nCc: \u003cstable@kernel.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6818ff4aa8d61129324abe5e554942d9714404f8",
      "old_mode": 33188,
      "old_path": "drivers/md/md.c",
      "new_id": "330addfe9b77efccd779bd9f0261b1f6897fe389",
      "new_mode": 33188,
      "new_path": "drivers/md/md.c"
    }
  ]
}
