Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 74859364 authored by Kiyoshi Ueda's avatar Kiyoshi Ueda Committed by Linus Torvalds
Browse files

[PATCH] dm: tidy core formatting



Remove unnecessary spaces in dm.c.

Signed-off-by: default avatarKiyoshi Ueda <k-ueda@ct.jp.nec.com>
Signed-off-by: default avatarJun'ichi Nomura <j-nomura@ce.jp.nec.com>
Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
Cc: dm-devel@redhat.com
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent f00b16ad
Loading
Loading
Loading
Loading
+4 −7
Original line number Diff line number Diff line
@@ -482,7 +482,6 @@ static int clone_endio(struct bio *bio, unsigned int done, int error)
		r = endio(tio->ti, bio, error, &tio->info);
		if (r < 0)
			error = r;

		else if (r > 0)
			/* the target wants another shot at the io */
			return 1;
@@ -551,9 +550,7 @@ static void __map_bio(struct dm_target *ti, struct bio *clone,
				    clone->bi_sector);

		generic_make_request(clone);
	}

	else if (r < 0) {
	} else if (r < 0) {
		/* error the io and bail out */
		md = tio->io->md;
		dec_pending(tio->io, r);