)]}'
{
  "commit": "f21e9ff7f77d41ceca4e1e5ee5a4efa5ad7a5e40",
  "tree": "c6bf9c0457ae891505983c1493bf15856e815c5b",
  "parents": [
    "50da08409654e036c4c964a473567a61a654cb83"
  ],
  "author": {
    "name": "NeilBrown",
    "email": "neilb@suse.de",
    "time": "Mon Jan 31 12:10:09 2011 +1100"
  },
  "committer": {
    "name": "NeilBrown",
    "email": "neilb@suse.de",
    "time": "Mon Jan 31 12:10:09 2011 +1100"
  },
  "message": "md: Remove the AllReserved flag for component devices.\n\nThis flag is not needed and is used badly.\n\nDevices that are included in a native-metadata array are reserved\nexclusively for that array - and currently have AllReserved set.\nThey all are bd_claimed for the rdev and so cannot be shared.\n\nDevices that are included in external-metadata arrays can be shared\namong multiple arrays - providing there is no overlap.\nThese are bd_claimed for md in general - not for a particular rdev.\n\nWhen changing the amount of a device that is used in an array we need\nto check for overlap.  This currently includes a check on AllReserved\nSo even without overlap, sharing with an AllReserved device is not\nallowed.\nHowever the bd_claim usage already precludes sharing with these\ndevices, so the test on AllReserved is not needed.  And in fact it is\nwrong.\n\nAs this is the only use of AllReserved, simply remove all usage and\ndefinition of AllReserved.\n\nSigned-off-by: NeilBrown \u003cneilb@suse.de\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e636e404e9a54bab221d8c19e736d04763c9dc6a",
      "old_mode": 33188,
      "old_path": "drivers/md/md.c",
      "new_id": "f539b587ca7273db84aa4001cbd6490afa99654b",
      "new_mode": 33188,
      "new_path": "drivers/md/md.c"
    },
    {
      "type": "modify",
      "old_id": "eec517ced31afeffd0bacb482a740bd1f2e1a6bd",
      "old_mode": 33188,
      "old_path": "drivers/md/md.h",
      "new_id": "7e90b8593b2a4f0f292759f1152348134ac0035e",
      "new_mode": 33188,
      "new_path": "drivers/md/md.h"
    }
  ]
}
