Commit 2abf1fc9 authored by Mike Snitzer's avatar Mike Snitzer

dm: remove stale comment blocks

These CRUD comments have worn out their welcome.  The code is what it
is, over time it'll hopefully get better.  But these comments serve no
purpose whatsoever.
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent ad3793fc
...@@ -752,15 +752,6 @@ int dm_set_geometry(struct mapped_device *md, struct hd_geometry *geo) ...@@ -752,15 +752,6 @@ int dm_set_geometry(struct mapped_device *md, struct hd_geometry *geo)
return 0; return 0;
} }
/*-----------------------------------------------------------------
* CRUD START:
* A more elegant soln is in the works that uses the queue
* merge fn, unfortunately there are a couple of changes to
* the block layer that I want to make for this. So in the
* interests of getting something for people to use I give
* you this clearly demarcated crap.
*---------------------------------------------------------------*/
static int __noflush_suspending(struct mapped_device *md) static int __noflush_suspending(struct mapped_device *md)
{ {
return test_bit(DMF_NOFLUSH_SUSPENDING, &md->flags); return test_bit(DMF_NOFLUSH_SUSPENDING, &md->flags);
...@@ -1497,9 +1488,6 @@ static void __split_and_process_bio(struct mapped_device *md, ...@@ -1497,9 +1488,6 @@ static void __split_and_process_bio(struct mapped_device *md,
/* drop the extra reference count */ /* drop the extra reference count */
dec_pending(ci.io, errno_to_blk_status(error)); dec_pending(ci.io, errno_to_blk_status(error));
} }
/*-----------------------------------------------------------------
* CRUD END
*---------------------------------------------------------------*/
/* /*
* The request function that remaps the bio to one target and * The request function that remaps the bio to one target and
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment