]> www.infradead.org Git - nvme.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)
committerKeith Busch <kbusch@kernel.org>
Thu, 1 Feb 2024 15:44:41 +0000 (07:44 -0800)
commitdcfad4ab4d6733f2861cd241d8532a0004fc835a
tree2a226f5383e52ad41485de12be7fa0cb84768a1e
parent70fbfc47a392b98e5f8dba70c6efc6839205c982
nvmet-fcloop: swap the list_add_tail arguments

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>
drivers/nvme/target/fcloop.c