xfs
[Top] [All Lists]

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

To: Eric Sandeen <sandeen@xxxxxxxxxxx>
Subject: Re: [PATCH] xfsprogs: initialize filetype for lost+found creation
From: Mark Tinguely <tinguely@xxxxxxx>
Date: Wed, 18 Sep 2013 15:55:57 -0500
Cc: xfs-oss <xfs@xxxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <52388C61.1000001@xxxxxxxxxxx>
References: <52388C61.1000001@xxxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20120122 Thunderbird/9.0
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@xxxxxxxxxx>
---

(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@xxxxxxx>

<Prev in Thread] Current Thread [Next in Thread>