projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b27b8d
)
dm: remove unused mapped_device argument from free_tio
author
Mike Snitzer
<snitzer@redhat.com>
Fri, 18 Feb 2022 04:40:18 +0000
(23:40 -0500)
committer
Mike Snitzer
<snitzer@redhat.com>
Mon, 21 Feb 2022 20:36:27 +0000
(15:36 -0500)
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm.c
patch
|
blob
|
history
diff --git
a/drivers/md/dm.c
b/drivers/md/dm.c
index c7246b00d363893899dc9fce1b6f93b040a8434c..b8cdd8c78c0eaed73ad04109eacbdf4b05a1bfdc 100644
(file)
--- a/
drivers/md/dm.c
+++ b/
drivers/md/dm.c
@@
-556,7
+556,7
@@
static struct dm_io *alloc_io(struct mapped_device *md, struct bio *bio)
return io;
}
-static void free_io(struct
mapped_device *md, struct
dm_io *io)
+static void free_io(struct dm_io *io)
{
bio_put(&io->tio.clone);
}
@@
-839,7
+839,7
@@
void dm_io_dec_pending(struct dm_io *io, blk_status_t error)
io_error = io->status;
dm_end_io_acct(io);
- free_io(
md,
io);
+ free_io(io);
smp_wmb();
this_cpu_dec(*md->pending_io);