Re: [PATCH] xfsprogs: initialize filetype for lost+found creation

Mark Tinguely
2013-09-18T20:55:59Z

On 09/17/13 12:07, Eric Sandeen wrote:
> If we create lost+found make sure it's got the proper filetype.
>
> Signed-off-by: Eric Sandeen<sandeen@redhat.com>
> ---
>
> (sorry, untested, not sure how to force creation when I can't use
> xfs_db to craft a filesystem that needs lost+found)

The {lib}xfs_dir_lookup() doesn't use the field - just like extended
attributes use xfs_names but it won't use the field entry, but it does
not hurt to have it initialized to something.

Reviewed-by: Mark Tinguely <tinguely@sgi.com>