From: Dave Chinner <david@fromorbit.com>
To: Roger Willcocks <roger@filmlight.ltd.uk>
Cc: xfs@oss.sgi.com
Subject: Re: [PATCH] v3 inodes are only valid on crc-enabled filesystems
Date: Tue, 18 Aug 2015 10:30:31 +1000 [thread overview]
Message-ID: <20150818003031.GG714@dastard> (raw)
In-Reply-To: <F80944E7-F176-450B-A98E-87A0F6DC196A@filmlight.ltd.uk>
On Sun, Aug 16, 2015 at 12:34:24PM +0100, Roger Willcocks wrote:
> Fix an xfs_repair regression reported by Leslie Rhorer where a bad
> (v3) inode version number was not reset.
>
> Signed-off-by: Roger Willcocks <roger@filmlight.ltd.uk>
Hi Roger,
Just a FYI - the patch has mangled whitespace:
in it.
> ---
> db/check.c | 2 +-
> include/libxfs.h | 2 +-
> include/xfs_dinode.h | 10 +++++++++-
> libxfs/xfs_inode_buf.c | 2 +-
> repair/dinode.c | 7 +++----
> repair/prefetch.c | 2 +-
> 6 files changed, 16 insertions(+), 9 deletions(-)
>
> diff --git a/db/check.c b/db/check.c
> index c4c972f..b5c3b8e 100644
> --- a/db/check.c
> +++ b/db/check.c
> @@ -2637,7 +2637,7 @@ process_inode(
> error++;
> return;
> }
> - if (!XFS_DINODE_GOOD_VERSION(idic.di_version)) {
> + if (!xfs_dinode_good_version(mp, idic.di_version)) {
> if (isfree || v)
> dbprintf(_("bad version number %#x for inode %lld\n"),
> idic.di_version, ino);
All the patch hunks are missing the leading " " for non-modified
lines. I've fixed it manually, but can you make sure future patches
are not mangled?
> --
> 2.5.0.rc0
IMO, it's best not to use development versions of git for anything
other than testing.... ;)
Cheers,
Dave.
--
Dave Chinner
david@fromorbit.com
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2015-08-18 0:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-16 11:34 [PATCH] v3 inodes are only valid on crc-enabled filesystems Roger Willcocks
2015-08-18 0:30 ` Dave Chinner [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-08-16 0:14 Roger Willcocks
2015-08-16 0:20 ` Roger Willcocks
2015-08-16 0:42 ` Dave Chinner
2015-08-16 11:34 ` Roger Willcocks
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=20150818003031.GG714@dastard \
--to=david@fromorbit.com \
--cc=roger@filmlight.ltd.uk \
--cc=xfs@oss.sgi.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox