From: Roel Kluin <roel.kluin@gmail.com>
To: chris.mason@oracle.com, linux-btrfs@vger.kernel.org,
Andrew Morton <akpm@linux-foundation.org>
Subject: [PATCH] brtfs: less- and greater than confusion
Date: Mon, 13 Jul 2009 00:30:48 +0200 [thread overview]
Message-ID: <4A5A6418.2070906@gmail.com> (raw)
Without this the loop won't start
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
---
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c
index 3ab80e9..2c873c9 100644
--- a/fs/btrfs/volumes.c
+++ b/fs/btrfs/volumes.c
@@ -2795,7 +2795,7 @@ int btrfs_rmap_block(struct btrfs_mapping_tree *map_tree,
}
}
- for (i = 0; i > nr; i++) {
+ for (i = 0; i < nr; i++) {
struct btrfs_multi_bio *multi;
struct btrfs_bio_stripe *stripe;
int ret;
next reply other threads:[~2009-07-12 22:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-12 22:30 Roel Kluin [this message]
2009-07-13 13:22 ` [PATCH] brtfs: less- and greater than confusion Chris Mason
2009-07-13 13:26 ` Chris Mason
2009-07-13 13:57 ` Yan Zheng
2009-07-13 13:28 ` David Woodhouse
2009-07-13 13:43 ` Yan Zheng
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A5A6418.2070906@gmail.com \
--to=roel.kluin@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=chris.mason@oracle.com \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.