[Ocfs2-devel] [PATCH 6/6] ocfs2: Remove syncjiff field from quota info
Joel Becker
Joel.Becker at oracle.com
Tue Jul 21 15:24:54 PDT 2009
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 at 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
More information about the Ocfs2-devel
mailing list