)]}'
{
  "commit": "ae76a60b69b5b7c8cde405ffe67e027bfe1584aa",
  "tree": "6314746d47174913ec5994754b73e5e5baa2a2b4",
  "parents": [
    "248022ffae3f641fd618b571e2a10bde37b1f148"
  ],
  "author": {
    "name": "Keith Busch",
    "email": "kbusch@kernel.org",
    "time": "Tue Jul 05 08:45:06 2022 -0700"
  },
  "committer": {
    "name": "Keith Busch",
    "email": "kbusch@kernel.org",
    "time": "Tue Jul 12 08:28:56 2022 -0700"
  },
  "message": "block: fix leaking page ref on truncated direct io\n\nThe size being added to a bio from an iov is aligned to a block size\nafter the pages were gotten. If the new aligned size truncates the last\npage, its reference was being leaked. Ensure all pages that were not\nadded to the bio have their reference released.\n\nSince this essentially requires doing the same that bio_put_pages(), and\nthere was only one caller for that function, this patch makes the\nput_page() loop common for everyone.\n\nFixes: b1a000d3b8ec5 (\"block: relax direct io memory alignment\")\nReported-by: Al Viro \u003cviro@zeniv.linux.org.uk\u003e\nSigned-off-by: Keith Busch \u003ckbusch@kernel.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "01223f8086ed58b8d9873b151536bf3eea367dfb",
      "old_mode": 33188,
      "old_path": "block/bio.c",
      "new_id": "de345a9b52dbd678b60a556f4a2e66b99311542d",
      "new_mode": 33188,
      "new_path": "block/bio.c"
    }
  ]
}
