summaryrefslogtreecommitdiff
path: root/nfs
diff options
context:
space:
mode:
Diffstat (limited to 'nfs')
-rw-r--r--nfs/ops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nfs/ops.c b/nfs/ops.c
index ccd46a8d..e36c6dc0 100644
--- a/nfs/ops.c
+++ b/nfs/ops.c
@@ -72,6 +72,7 @@ register_fresh_stat (struct node *np, int *p)
np->nn_stat.st_gen = 0;
np->nn_stat.st_author = np->nn_stat.st_uid;
np->nn_stat.st_flags = 0;
+ np->nn_translated = np->nn_stat.st_mode & S_IFMT;
return ret;
}