From 261c7ad8acc6cdbe4667afe14d635ecdbe1dc1ba Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 13 May 2002 22:23:37 +0000 Subject: 2002-05-13 Roland McGrath * netfs.h (struct node): New member `nn_translated'. * dir-lookup.c (netfs_S_dir_lookup): Examine that in place of nn_stat.st_mode to decide if there is a passive translator. --- libnetfs/netfs.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libnetfs/netfs.h') diff --git a/libnetfs/netfs.h b/libnetfs/netfs.h index 9becea59..119c5f65 100644 --- a/libnetfs/netfs.h +++ b/libnetfs/netfs.h @@ -74,6 +74,10 @@ struct node /* The stat information for this particular node. */ struct stat nn_stat; + /* The S_IPTRANS and S_IFMT bits here are examined instead of nn_stat.st_mode + to decide whether to do passive translator processing. Other bits + are ignored, so you can set this to nn_stat.st_mode if you want that. */ + mode_t nn_translated; struct mutex lock; -- cgit v1.2.3