]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mtd: virt_concat: use single allocation for node
authorRosen Penev <rosenp@gmail.com>
Thu, 5 Mar 2026 22:44:09 +0000 (14:44 -0800)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 11 Mar 2026 15:23:56 +0000 (16:23 +0100)
commitc685e6e8d88d544e8c4429b06c3e6795cbba32dd
treeba6cf0ba8efd2892844db9f10a8cac802c09adfe
parent87d8f1285470b3c8367880993113ea604d365e33
mtd: virt_concat: use single allocation for node

Simpler to reason about and avoids having to free nodes separately.

Also add __counted_by attribute for extra runtime analysis.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/mtd_virt_concat.c