)]}'
{
  "commit": "dba9f997c9d9a1cade05d006ed0429a63a4eed32",
  "tree": "86d8f892d8cf78fd74cf262bf9dddcda6fe6280b",
  "parents": [
    "b95cd1bdf5aa9221c98fc9259014b8bb8d1829d7"
  ],
  "author": {
    "name": "Paulo Alcantara",
    "email": "pc@manguebit.org",
    "time": "Tue Oct 07 16:23:25 2025 -0300"
  },
  "committer": {
    "name": "Steve French",
    "email": "stfrench@microsoft.com",
    "time": "Thu Oct 09 10:42:14 2025 -0500"
  },
  "message": "smb: client: fix race with fallocate(2) and AIO+DIO\n\nAIO+DIO may extend the file size, hence we need to make sure -\u003ei_size\nis stable across the entire fallocate(2) operation, otherwise it would\nbecome a truncate and then inode size reduced back down when it\nfinishes.\n\nFix this by calling netfs_wait_for_outstanding_io() right after\nacquiring -\u003ei_rwsem exclusively in cifs_fallocate() and then guarantee\na stable -\u003ei_size across fallocate(2).\n\nAlso call netfs_wait_for_outstanding_io() after truncating pagecache\nto avoid any potential races with writeback.\n\nSigned-off-by: Paulo Alcantara (Red Hat) \u003cpc@manguebit.org\u003e\nReviewed-by: David Howells \u003cdhowells@redhat.com\u003e\nFixes: 210627b0aca9 (\"smb: client: fix missing timestamp updates with O_TRUNC\")\nCc: Frank Sorenson \u003csorenson@redhat.com\u003e\nCc: linux-cifs@vger.kernel.org\nSigned-off-by: Steve French \u003cstfrench@microsoft.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1775c2b7528f53c6f52d4e0db89ad9ccb25815a4",
      "old_mode": 33188,
      "old_path": "fs/smb/client/cifsfs.c",
      "new_id": "05b1fa76e8ccf1e86f0c174593cd6e1acb84608d",
      "new_mode": 33188,
      "new_path": "fs/smb/client/cifsfs.c"
    },
    {
      "type": "modify",
      "old_id": "fbfd5b556815d33c3fc42041b893c87d4ca2bf34",
      "old_mode": 33188,
      "old_path": "fs/smb/client/inode.c",
      "new_id": "239dd84a336f389237055fba87cfcbbab7dff433",
      "new_mode": 33188,
      "new_path": "fs/smb/client/inode.c"
    },
    {
      "type": "modify",
      "old_id": "83d9cde8a7183ed689046b64037039b5ea7674e3",
      "old_mode": 33188,
      "old_path": "fs/smb/client/smb2ops.c",
      "new_id": "7c392cf5940bb3e63187488d5560c408951bbedd",
      "new_mode": 33188,
      "new_path": "fs/smb/client/smb2ops.c"
    }
  ]
}
