summaryrefslogtreecommitdiff
path: root/libnetfs/netfs.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-05-13 22:23:37 +0000
committerRoland McGrath <roland@gnu.org>2002-05-13 22:23:37 +0000
commit261c7ad8acc6cdbe4667afe14d635ecdbe1dc1ba (patch)
treefc18a56fb8521d13cbf82dc5b9b02ed99a373b33 /libnetfs/netfs.h
parent8317619c2d91aece08082cc46812d78efdf94f7e (diff)
2002-05-13 Roland McGrath <roland@frob.com>
* 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.
Diffstat (limited to 'libnetfs/netfs.h')
-rw-r--r--libnetfs/netfs.h4
1 files changed, 4 insertions, 0 deletions
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;