From: Eric Sandeen Date: Tue, 17 Sep 2013 16:56:59 +0000 (+0000) Subject: xfsprogs: initialize filetype for xfs_name_dot X-Git-Tag: v3.2.0-alpha2~73 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1acc538540ce22e16bb55ca573691070a8d375db;p=thirdparty%2Fxfsprogs-dev.git xfsprogs: initialize filetype for xfs_name_dot If we add the '.' entry in repair, make sure it has a file type initialized. Signed-off-by: Eric Sandeen Reviewed-by: Mark Tinguely Signed-off-by: Rich Johnston --- diff --git a/repair/phase6.c b/repair/phase6.c index a4ad7a311..580dbf7f4 100644 --- a/repair/phase6.c +++ b/repair/phase6.c @@ -34,7 +34,9 @@ static struct cred zerocr; static struct fsxattr zerofsx; static xfs_ino_t orphanage_ino; -static struct xfs_name xfs_name_dot = {(unsigned char *)".", 1}; +static struct xfs_name xfs_name_dot = {(unsigned char *)".", + 1, + XFS_DIR3_FT_DIR}; /* * Data structures used to keep track of directories where the ".."