)]}'
{
  "commit": "cdafeda35709ddf8cd982a7eb653c2a5028c8074",
  "tree": "501595a3da3136a9ac157b58bfe3fd45dc5b1e2c",
  "parents": [
    "610dc187e52605c8ea8d14c5e7d8e7384f8af290"
  ],
  "author": {
    "name": "Christian Schoenebeck",
    "email": "qemu_oss@crudebyte.com",
    "time": "Thu Mar 20 13:16:20 2025 +0100"
  },
  "committer": {
    "name": "Christian Schoenebeck",
    "email": "qemu_oss@crudebyte.com",
    "time": "Mon May 05 11:28:29 2025 +0200"
  },
  "message": "9pfs: fix \u0027total_open_fd\u0027 decrementation\n\nAccording to \u0027man 2 close\u0027 errors returned by close() should only be used\nfor either diagnostic purposes or for catching data loss due to a previous\nwrite error, as an error result of close() usually indicates a deferred\nerror of a previous write operation.\n\nTherefore not decrementing \u0027total_open_fd\u0027 on a close() error is wrong\nand would yield in a higher open file descriptor count than actually the\ncase, leading to 9p server reclaiming open file descriptors too soon.\n\nBased-on: \u003c20250312152933.383967-7-groug@kaod.org\u003e\nSigned-off-by: Christian Schoenebeck \u003cqemu_oss@crudebyte.com\u003e\nReviewed-by: Greg Kurz \u003cgroug@kaod.org\u003e\nMessage-Id: \u003cE1tvEyJ-004dMa-So@kylie.crudebyte.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b22df3aa2b741dd98d31f66944cce7d1b91d130f",
      "old_mode": 33188,
      "old_path": "hw/9pfs/9p.c",
      "new_id": "8b001b9112042a375ab24a9082848973bfb622d3",
      "new_mode": 33188,
      "new_path": "hw/9pfs/9p.c"
    },
    {
      "type": "modify",
      "old_id": "2068a4779d47481f1ab7fe820e5d30f285280e79",
      "old_mode": 33188,
      "old_path": "hw/9pfs/codir.c",
      "new_id": "bce7dd96e91e518a50a650f5f0bb24832eff6608",
      "new_mode": 33188,
      "new_path": "hw/9pfs/codir.c"
    },
    {
      "type": "modify",
      "old_id": "71174c3e4abddb2a83192629614128395330080f",
      "old_mode": 33188,
      "old_path": "hw/9pfs/cofile.c",
      "new_id": "6e775c8e4127f712b3529ac8bc38d723b8194d48",
      "new_mode": 33188,
      "new_path": "hw/9pfs/cofile.c"
    }
  ]
}
