From: Joel Becker <Joel.Becker@oracle.com>
To: ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] [PATCH 6/6] ocfs2: Remove syncjiff field from quota info
Date: Tue, 21 Jul 2009 15:24:54 -0700 [thread overview]
Message-ID: <20090721222454.GG19170@mail.oracle.com> (raw)
In-Reply-To: <1247673304-31080-7-git-send-email-jack@suse.cz>
On Wed, Jul 15, 2009 at 05:55:04PM +0200, Jan Kara wrote:
> syncjiff is just a converted value of syncms. Some places which
> are updating syncms forgot to update syncjiff as well. Since the
> conversion is just a simple division / multiplication and it does
> not happen frequently, just remove the syncjiff field to avoid
> forgotten conversions.
>
> Signed-off-by: Jan Kara <jack@suse.cz>
> ---
> fs/ocfs2/aops.c | 4 +++-
> fs/ocfs2/quota.h | 1 -
> fs/ocfs2/quota_global.c | 5 ++---
> 3 files changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/fs/ocfs2/aops.c b/fs/ocfs2/aops.c
> index b2c52b3..eaa268f 100644
> --- a/fs/ocfs2/aops.c
> +++ b/fs/ocfs2/aops.c
> @@ -138,9 +138,11 @@ static int ocfs2_get_block(struct inode *inode, sector_t iblock,
> mlog_entry("(0x%p, %llu, 0x%p, %d)\n", inode,
> (unsigned long long)iblock, bh_result, create);
>
> - if (OCFS2_I(inode)->ip_flags & OCFS2_INODE_SYSTEM_FILE)
> + if (OCFS2_I(inode)->ip_flags & OCFS2_INODE_SYSTEM_FILE) {
> mlog(ML_NOTICE, "get_block on system inode 0x%p (%lu)\n",
> inode, inode->i_ino);
> + dump_stack();
> + }
What's this doing here?
Joel
--
"Win95 file and print sharing are for relatively friendly nets."
- Paul Leach, Microsoft
Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127
next prev parent reply other threads:[~2009-07-21 22:24 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-15 15:54 [Ocfs2-devel] [PATCH 0/6] Quota fixes for 2.6.31-rc4 Jan Kara
2009-07-15 15:54 ` [Ocfs2-devel] [PATCH 1/6] ocfs2: Make global quota files blocksize aligned Jan Kara
2009-07-21 21:54 ` Joel Becker
2009-07-15 15:55 ` [Ocfs2-devel] [PATCH 2/6] ocfs2: Mark buffer uptodate before calling ocfs2_journal_access_dq() Jan Kara
2009-07-15 15:55 ` [Ocfs2-devel] [PATCH 3/6] ocfs2: Initialize blocks allocated to local quota file Jan Kara
2009-07-21 22:20 ` Joel Becker
2009-07-21 22:52 ` Jan Kara
2009-07-15 15:55 ` [Ocfs2-devel] [PATCH 4/6] ocfs2: Zero out padding of on disk dquot structure Jan Kara
2009-07-15 15:55 ` [Ocfs2-devel] [PATCH 5/6] ocfs2: Fix initialization of blockcheck stats Jan Kara
2009-07-15 15:55 ` [Ocfs2-devel] [PATCH 6/6] ocfs2: Remove syncjiff field from quota info Jan Kara
2009-07-21 22:24 ` Joel Becker [this message]
2009-07-21 22:55 ` Jan Kara
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=20090721222454.GG19170@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.