From: rpeterso@sourceware.org <rpeterso@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] cluster/gfs2/edit gfs2hex.c
Date: 15 Jan 2008 15:04:46 -0000 [thread overview]
Message-ID: <20080115150446.29976.qmail@sourceware.org> (raw)
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: rpeterso at sourceware.org 2008-01-15 15:04:45
Modified files:
gfs2/edit : gfs2hex.c
Log message:
Fixup contributed by Andy Price.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/edit/gfs2hex.c.diff?cvsroot=cluster&r1=1.14&r2=1.15
--- cluster/gfs2/edit/gfs2hex.c 2007/11/15 20:32:42 1.14
+++ cluster/gfs2/edit/gfs2hex.c 2008/01/15 15:04:45 1.15
@@ -226,9 +226,8 @@
memset(indirect, 0, sizeof(indirect));
if (di->di_height > 0) {
/* Indirect pointers */
- for (x = sizeof(struct gfs2_dinode), y = 0;
- x < bufsize;
- x += sizeof(uint64_t), y++) {
+ for (x = sizeof(struct gfs2_dinode); x < bufsize;
+ x += sizeof(uint64_t)) {
p = be64_to_cpu(*(uint64_t *)(buf + x));
if (p) {
indirect->ii[indirect_blocks].block = p;
reply other threads:[~2008-01-15 15:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20080115150446.29976.qmail@sourceware.org \
--to=rpeterso@sourceware.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox