)]}'
{
  "commit": "81dfa035891f0502674332ee97db348a16486de0",
  "tree": "cc6c5b414a10611d224d33cc463221c30cf43e16",
  "parents": [
    "fc9577079df8a44ccbf39d2f06634017d286e4f0"
  ],
  "author": {
    "name": "Hungyu Lin",
    "email": "dennylin0707@gmail.com",
    "time": "Mon Oct 26 01:57:38 2026 +0000"
  },
  "committer": {
    "name": "Christian Brauner",
    "email": "brauner@kernel.org",
    "time": "Fri Oct 30 16:06:00 2026 +0100"
  },
  "message": "fs: skip copy_file_range write limits when there is no data\n\ngeneric_copy_file_checks() reduces count to zero for a source offset at\nor beyond EOF, but still checks the destination write limits. If pos_out\nis at RLIMIT_FSIZE, this sends SIGXFSZ and returns -EFBIG even though\nthere is no data to write.\n\nFor example, GNU cat copying a 1024-byte regular file to another regular\nfile with RLIMIT_FSIZE\u003d1024 copies all bytes and is then killed by its\nnext copy_file_range() call at EOF. A zero-length request can fail in\nthe same way.\n\nCheck write limits only when count is nonzero, as the ordinary write\nchecks already do. Keep the other copy validation in place.\n\nFixes: 96e6e8f4a68d (\"vfs: add missing checks to copy_file_range\")\nCc: stable@vger.kernel.org\nSigned-off-by: Hungyu Lin \u003cdennylin0707@gmail.com\u003e\nLink: https://patch.msgid.link/20261026015738.46230-1-dennylin0707@gmail.com\nReviewed-by: Amir Goldstein \u003camir73il@gmail.com\u003e\nSigned-off-by: Christian Brauner (Amutable) \u003cbrauner@kernel.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4da3e553090baeb015c30300e81e224f1206793e",
      "old_mode": 33188,
      "old_path": "fs/read_write.c",
      "new_id": "67672831089914bddfcb45c025f46e467741d81d",
      "new_mode": 33188,
      "new_path": "fs/read_write.c"
    }
  ]
}
