]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
nvmet-fcloop: swap the list_add_tail arguments
authorDaniel Wagner <dwagner@suse.de>
Wed, 31 Jan 2024 08:51:02 +0000 (09:51 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 1 Mar 2024 12:34:52 +0000 (13:34 +0100)
commit95a9ff3307343c1c5ea5f42f9432e42813ac5535
treecf2209aedd0fbebe50afd8fd7932ba8c108d1af7
parentbaa6b7eb8c66486bd64608adc63fe03b30d3c0b9
nvmet-fcloop: swap the list_add_tail arguments

[ Upstream commit dcfad4ab4d6733f2861cd241d8532a0004fc835a ]

The first argument of list_add_tail function is the new element which
should be added to the list which is the second argument. Swap the
arguments to allow processing more than one element at a time.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Daniel Wagner <dwagner@suse.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/nvme/target/fcloop.c