summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-05-13 22:34:29 +0000
committerRoland McGrath <roland@gnu.org>2002-05-13 22:34:29 +0000
commit53a655eefc8439e9cf2d64eeae9b16e584ffa0d7 (patch)
tree7bca65a90fefd8d898c9e63bb7aa743661070f2e
parent3742e91a2836ba82cc56342a00c4f5f5c27625c0 (diff)
2002-05-13 Roland McGrath <roland@frob.com>
* fakeroot.c (netfs_validate_stat): Set NP->nn_translated.
-rw-r--r--trans/fakeroot.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/trans/fakeroot.c b/trans/fakeroot.c
index 15b617ee..d958e58f 100644
--- a/trans/fakeroot.c
+++ b/trans/fakeroot.c
@@ -163,6 +163,8 @@ netfs_validate_stat (struct node *np, struct iouser *cred)
st.st_mode = np->nn_stat.st_mode;
np->nn_stat = st;
+ np->nn_translated = S_ISLNK (st.st_mode) ? S_IFLNK : 0;
+
return 0;
}