)]}'
{
  "commit": "0f9552b5dc4fe10da37fa3f4a4ca185d90fa41c9",
  "tree": "14f29af551fc226dc4451f1089d4f08dc2611c0d",
  "parents": [
    "cbd1998377504df005302ac90d49db72a48552a6"
  ],
  "author": {
    "name": "NeilBrown",
    "email": "neilb@suse.de",
    "time": "Wed Dec 30 12:08:50 2009 +1100"
  },
  "committer": {
    "name": "NeilBrown",
    "email": "neilb@suse.de",
    "time": "Wed Dec 30 15:20:12 2009 +1100"
  },
  "message": "md: fix small irregularity with start_ro module parameter\n\nThe start_ro modules parameter can be used to force arrays to be\nstarted in \u0027auto-readonly\u0027 in which they are read-only until the first\nwrite.  This ensures that no resync/recovery happens until something\nelse writes to the device.  This is important for resume-from-disk\noff an md array.\n\nHowever if an array is started \u0027readonly\u0027 (by writing \u0027readonly\u0027 to\nthe \u0027array_state\u0027 sysfs attribute) we want it to be really \u0027readonly\u0027,\nnot \u0027auto-readonly\u0027.\n\nSo strengthen the condition to only set auto-readonly if the\narray is not already read-only.\n\nSigned-off-by: NeilBrown \u003cneilb@suse.de\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7862231a075061f08524f1d34a57281c4c695759",
      "old_mode": 33188,
      "old_path": "drivers/md/md.c",
      "new_id": "d2aff72090709d89ba31010ba9b9f6492ee9360c",
      "new_mode": 33188,
      "new_path": "drivers/md/md.c"
    }
  ]
}
