提交 74859364 编写于 作者: K Kiyoshi Ueda 提交者: Linus Torvalds

[PATCH] dm: tidy core formatting

Remove unnecessary spaces in dm.c.
Signed-off-by: NKiyoshi Ueda <k-ueda@ct.jp.nec.com>
Signed-off-by: NJun'ichi Nomura <j-nomura@ce.jp.nec.com>
Signed-off-by: NAlasdair G Kergon <agk@redhat.com>
Cc: dm-devel@redhat.com
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 f00b16ad
...@@ -482,7 +482,6 @@ static int clone_endio(struct bio *bio, unsigned int done, int error) ...@@ -482,7 +482,6 @@ static int clone_endio(struct bio *bio, unsigned int done, int error)
r = endio(tio->ti, bio, error, &tio->info); r = endio(tio->ti, bio, error, &tio->info);
if (r < 0) if (r < 0)
error = r; error = r;
else if (r > 0) else if (r > 0)
/* the target wants another shot at the io */ /* the target wants another shot at the io */
return 1; return 1;
...@@ -551,9 +550,7 @@ static void __map_bio(struct dm_target *ti, struct bio *clone, ...@@ -551,9 +550,7 @@ static void __map_bio(struct dm_target *ti, struct bio *clone,
clone->bi_sector); clone->bi_sector);
generic_make_request(clone); generic_make_request(clone);
} } else if (r < 0) {
else if (r < 0) {
/* error the io and bail out */ /* error the io and bail out */
md = tio->io->md; md = tio->io->md;
dec_pending(tio->io, r); dec_pending(tio->io, r);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册