From 53a655eefc8439e9cf2d64eeae9b16e584ffa0d7 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 13 May 2002 22:34:29 +0000 Subject: 2002-05-13 Roland McGrath * fakeroot.c (netfs_validate_stat): Set NP->nn_translated. --- trans/fakeroot.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'trans') 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; } -- cgit v1.2.3