If we add the '.' entry in repair, make sure it has a file type
initialized.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
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 ".."