dm: cleanup methods that requeue requests
authorMike Snitzer <snitzer@redhat.com>
Wed, 29 Apr 2015 16:07:12 +0000 (12:07 -0400)
committerMike Snitzer <snitzer@redhat.com>
Fri, 29 May 2015 18:18:57 +0000 (14:18 -0400)
commit2d76fff18fd12284493456b01c998e540b140c23
tree3c18b38e8639edccc10446ea1721d46a1a633d0a
parentcbc4e3c1350beb47beab8f34ad9be3d34a20c705
dm: cleanup methods that requeue requests

More often than not a request that is requeued _is_ mapped (meaning the
clone request is allocated and clone->q is initialized).  Rename
dm_requeue_unmapped_original_request() to avoid potential confusion due
to function name containing "unmapped".

Also, remove dm_requeue_unmapped_request() since callers can easily call
the dm_requeue_original_request() directly.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm.c