)]}'
{
  "commit": "581230d2ec3c0380917d1255792508851e7c4627",
  "tree": "f4b7721b013dfc8111ddfcb698e57014145331d4",
  "parents": [
    "1dcf2be94b9be2d366a0d2b70c2b1c7ebccf1443"
  ],
  "author": {
    "name": "Hungyu Lin",
    "email": "dennylin0707@gmail.com",
    "time": "Tue Oct 27 19:20:27 2026 +0000"
  },
  "committer": {
    "name": "Jan Kara",
    "email": "jack@suse.cz",
    "time": "Tue Nov 03 14:05:25 2026 +0100"
  },
  "message": "inotify: do not coalesce rename events\n\ninotify compares the mask, watch descriptor and name when coalescing\nadjacent unread events, but ignores their rename cookies. Distinct\nIN_MOVED_FROM events can therefore be coalesced, losing the cookie needed\nto match a later IN_MOVED_TO event.\n\nFor example, watch two directories with IN_MOVE. Move an entry from the\nfirst directory into an unwatched directory, recreate it under the same\nname, then move it from the first directory into the second watched\ndirectory before reading the events. The second IN_MOVED_FROM is merged\nwith the first, while the IN_MOVED_TO retains the second rename\u0027s cookie.\nUserspace can no longer pair the second rename\u0027s events.\n\nThe original inotify implementation compared cookies before coalescing.\nThe fsnotify conversion lost this comparison. Do not coalesce\nIN_MOVED_FROM or IN_MOVED_TO events, which carry the identity of their\nrespective renames. Leave coalescing of other event types unchanged.\n\nFixes: 63c882a05416 (\"inotify: reimplement inotify using fsnotify\")\nCc: stable@vger.kernel.org\nSuggested-by: Amir Goldstein \u003camir73il@gmail.com\u003e\nSigned-off-by: Hungyu Lin \u003cdennylin0707@gmail.com\u003e\nReviewed-by: Amir Goldstein \u003camir73il@gmail.com\u003e\nLink: https://patch.msgid.link/20261027192027.8617-1-dennylin0707@gmail.com\nSigned-off-by: Jan Kara \u003cjack@suse.cz\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7c326ec2e8a8caca235c42004ea07b249deec87a",
      "old_mode": 33188,
      "old_path": "fs/notify/inotify/inotify_fsnotify.c",
      "new_id": "6e3af6452dccb68e129a45b1b12f03a1e14059dd",
      "new_mode": 33188,
      "new_path": "fs/notify/inotify/inotify_fsnotify.c"
    }
  ]
}
