)]}'
{
  "commit": "af09abfece59aa50bfbf16f6f1f85822554e061f",
  "tree": "ca419511219b433a2bf45626814777df8667a19f",
  "parents": [
    "4366211ccd050e00674b3276b5ed81981b2d7793"
  ],
  "author": {
    "name": "Chris Mason",
    "email": "chris.mason@oracle.com",
    "time": "Fri Nov 07 12:35:44 2008 -0500"
  },
  "committer": {
    "name": "Chris Mason",
    "email": "chris.mason@oracle.com",
    "time": "Fri Nov 07 12:35:44 2008 -0500"
  },
  "message": "Btrfs: make sure compressed bios don\u0027t complete too soon\n\nWhen writing a compressed extent, a number of bios are created that\npoint to a single struct compressed_bio.  At end_io time an atomic counter in\nthe compressed_bio struct makes sure that all of the bios have finished\nbefore final end_io processing is done.\n\nBut when multiple bios are needed to write a compressed extent, the\ncounter was being incremented after the first bio was sent to submit_bio.\nIt is possible the bio will complete before the counter is incremented,\nmaking the end_io handler free the compressed_bio struct before\nprocessing is finished.\n\nThe fix is to increment the atomic counter before bio submission,\nboth for compressed reads and writes.\n\nSigned-off-by: Chris Mason \u003cchris.mason@oracle.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "284f21025bcc32134c96f7edbd179e936ee1900b",
      "old_mode": 33188,
      "old_path": "fs/btrfs/compression.c",
      "new_id": "7397c622fb6a14d4e691f432bc619f1fc0a52e75",
      "new_mode": 33188,
      "new_path": "fs/btrfs/compression.c"
    }
  ]
}
