Re: [PATCH 5/5] xfs_repair: set proper ftype when moving to lost+found

Eric Sandeen
2014-09-07T21:26:20Z

On 9/7/14 11:41 AM, Eric Sandeen wrote:
> When we move files to lost+found, we're setting the
> filetype to UNKNOWN. This leaves an inconsistency which
> is discovered on a subsequent repair:
>
> would fix ftype mismatch (0/1) in directory/child inode 5838/5839
>
> Setting the proper ftype at the time of the move
> resolves this:

Ah, arekm points out that Jan already sent a patch to do this:

[PATCH] repair: Set ftype for entries in lost+found

http://oss.sgi.com/archives/xfs/2014-07/msg00314.html

Sorry, missed that.

-Eric