| To: | Eric Sandeen <sandeen@xxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH 1/5] xfs_repair: clear bad flgs in process_dinode_int |
| From: | Dave Chinner <david@xxxxxxxxxxxxx> |
| Date: | Wed, 10 Sep 2014 09:48:15 +1000 |
| Cc: | Christoph Hellwig <hch@xxxxxxxxxxxxx>, Eric Sandeen <sandeen@xxxxxxxxxx>, xfs@xxxxxxxxxxx |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <540F803A.9060901@xxxxxxxxxxx> |
| References: | <1410108065-18156-1-git-send-email-sandeen@xxxxxxxxxx> <1410108065-18156-2-git-send-email-sandeen@xxxxxxxxxx> <20140909222856.GA27349@xxxxxxxxxxxxx> <540F803A.9060901@xxxxxxxxxxx> |
| User-agent: | Mutt/1.5.21 (2010-09-15) |
On Tue, Sep 09, 2014 at 05:33:30PM -0500, Eric Sandeen wrote: > On 9/9/14 5:28 PM, Christoph Hellwig wrote: > >On Sun, Sep 07, 2014 at 11:41:01AM -0500, Eric Sandeen wrote: > >>process_dinode_int() reports bad flags if > >>dino->di_flags & ~XFS_DIFLAG_ANY - i.e. if > >>any flags are set outside the known set. But > >>then instead of clearing them, it does > >>flags &= ~XFS_DIFLAG_ANY which keeps *only* > >>the bad flags. This leads to persistent, > >>unrepairable errors of the form: > > > >You know you can use up to 75 characters per line for your commit messages, > >don't you? :) > > hah, it's not automated at all, I guess my visual perception > of the window is shrinking. Dave, feel free to fix on commit if > inclined :) I mostly do already - I tend to reflow commit messages to 68 characters (same width I use for email) when I see something like this. Cheers, Dave. -- Dave Chinner david@xxxxxxxxxxxxx |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Corrupted files, Sean Caron |
|---|---|
| Next by Date: | [XFS updates] XFS development tree branch, xfs-misc-fixes-for-3.18-1, created. v3.16-11807-gab6978c, xfs |
| Previous by Thread: | Re: [PATCH 1/5] xfs_repair: clear bad flgs in process_dinode_int, Eric Sandeen |
| Next by Thread: | [PATCH 6/5] xfs_repair: don't re-add root dotdot if root dir was rebuilt, Eric Sandeen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |