<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">Subject: [PATCH 02/11] dm: tidy core formatting
To: Andrew Morton &lt;akpm@osdl.org&gt;
Cc: linux-kernel@vger.kernel.org, dm-devel@redhat.com, Jun'ichi Nomura &lt;j-nomura@ce.jp.nec.com&gt;, Kiyoshi Ueda &lt;k-ueda@ct.jp.nec.com&gt;

From: Kiyoshi Ueda &lt;k-ueda@ct.jp.nec.com&gt;

This patch removes unnecessary spaces in dm.c.

Signed-off-by: Kiyoshi Ueda &lt;k-ueda@ct.jp.nec.com&gt;
Signed-off-by: Jun'ichi Nomura &lt;j-nomura@ce.jp.nec.com&gt;
Signed-off-by: Alasdair G Kergon &lt;agk@redhat.com&gt;
Cc: dm-devel@redhat.com

 drivers/md/dm.c |   11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)

Index: linux-2.6.19/drivers/md/dm.c
===================================================================
--- linux-2.6.19.orig/drivers/md/dm.c	2006-12-06 20:49:19.000000000 +0000
+++ linux-2.6.19/drivers/md/dm.c	2006-12-06 20:49:30.000000000 +0000
@@ -89,7 +89,7 @@ struct mapped_device {
 	 */
 	atomic_t pending;
 	wait_queue_head_t wait;
- 	struct bio_list deferred;
+	struct bio_list deferred;
 
 	/*
 	 * The current mapping.
@@ -482,7 +482,6 @@ static int clone_endio(struct bio *bio, 
 		r = endio(tio-&gt;ti, bio, error, &amp;tio-&gt;info);
 		if (r &lt; 0)
 			error = r;
-
 		else if (r &gt; 0)
 			/* the target wants another shot at the io */
 			return 1;
@@ -551,9 +550,7 @@ static void __map_bio(struct dm_target *
 				    clone-&gt;bi_sector);
 
 		generic_make_request(clone);
-	}
-
-	else if (r &lt; 0) {
+	} else if (r &lt; 0) {
 		/* error the io and bail out */
 		md = tio-&gt;io-&gt;md;
 		dec_pending(tio-&gt;io, r);
@@ -966,8 +963,8 @@ static struct mapped_device *alloc_dev(i
 	md-&gt;queue-&gt;issue_flush_fn = dm_flush_all;
 
 	md-&gt;io_pool = mempool_create_slab_pool(MIN_IOS, _io_cache);
- 	if (!md-&gt;io_pool)
- 		goto bad2;
+	if (!md-&gt;io_pool)
+		goto bad2;
 
 	md-&gt;tio_pool = mempool_create_slab_pool(MIN_IOS, _tio_cache);
 	if (!md-&gt;tio_pool)
</pre></body></html>