From: Joel Becker <Joel.Becker@oracle.com>
To: ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] [PATCH 1/1] adds mlogs to aops.c
Date: Mon, 20 Jul 2009 15:47:21 -0700 [thread overview]
Message-ID: <20090720224720.GC7768@mail.oracle.com> (raw)
In-Reply-To: <200907130339.n6D3d7pB018215@rgminet15.oracle.com>
On Mon, Jul 13, 2009 at 11:37:39AM +0800, Wengang Wang wrote:
> @@ -217,11 +219,16 @@ int ocfs2_read_inline_data(struct inode *inode, struct page *page,
> void *kaddr;
> loff_t size;
> struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data;
> + int status = 0;
> +
> + mlog_entry("(%llu, %lu, %llu)\n", OCFS2_I(inode)->ip_blkno,
> + page->index, (unsigned long long)di_bh->b_blocknr);
You're printing OCFS2_I(inode)->ip_blkno with %llu but not
casting it to unsigned long long. It needs those casts for stricter
platforms. Make sure all your u64 mlog additions have the cast.
Joel
--
"I inject pure kryptonite into my brain.
It improves my kung fu, and it eases the pain."
Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127
prev parent reply other threads:[~2009-07-20 22:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-13 3:37 [Ocfs2-devel] [PATCH 1/1] adds mlogs to aops.c Wengang Wang
2009-07-20 22:47 ` Joel Becker [this message]
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=20090720224720.GC7768@mail.oracle.com \
--to=joel.becker@oracle.com \
--cc=ocfs2-devel@oss.oracle.com \
/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.