summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-05-13 22:23:48 +0000
committerRoland McGrath <roland@gnu.org>2002-05-13 22:23:48 +0000
commitd86c77d174c438ff8242112483face18ed11fc25 (patch)
treef2708a608314059cf6b8315fb65a92a40219853c
parent261c7ad8acc6cdbe4667afe14d635ecdbe1dc1ba (diff)
2002-05-13 Roland McGrath <roland@frob.com>
* ops.c (register_fresh_stat): Set NP->nn_translated appropriately.
-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;
}