summaryrefslogtreecommitdiff
path: root/netfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'netfs.c')
-rw-r--r--netfs.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/netfs.c b/netfs.c
index 954222f..00db6b8 100644
--- a/netfs.c
+++ b/netfs.c
@@ -195,6 +195,13 @@ netfs_validate_stat (struct node *np, struct iouser *cred)
}
else
{
+ if (!mountee_started)
+ {
+ err = setup_unionmount ();
+ if (err)
+ error (EXIT_FAILURE, err, "failed to set up the mountee");
+ }
+
_get_node_size (np, &np->nn_stat.st_size);
}