]> git.ipfire.org Git - thirdparty/linux.git/commit
iomap: prevent ioend merge when io_private differs
authorZhang Yi <yi.zhang@huawei.com>
Mon, 13 Jul 2026 07:42:06 +0000 (15:42 +0800)
committerChristian Brauner <brauner@kernel.org>
Thu, 23 Jul 2026 09:28:47 +0000 (11:28 +0200)
commitc97cd6f447d8727af3d457bca3a9283a77dd70f8
tree33e2b828daba9b0787702fcda101a6f4abbec6bd
parent1c9cb1826bd51bd74ee05adf5199065d83d400ec
iomap: prevent ioend merge when io_private differs

Different io_private values indicate distinct completion contexts that
must not be merged together, as this could leak or corrupt the private
data associated with each ioend.

Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Link: https://patch.msgid.link/20260713074206.1768006-1-yi.zhang@huaweicloud.com
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ojaswin Mujoo <ojaswin@linux.ibm.com>
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
fs/iomap/ioend.c