diff options
author | Roland McGrath <roland@gnu.org> | 2002-05-13 22:23:37 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-05-13 22:23:37 +0000 |
commit | 261c7ad8acc6cdbe4667afe14d635ecdbe1dc1ba (patch) | |
tree | fc18a56fb8521d13cbf82dc5b9b02ed99a373b33 /libnetfs/netfs.h | |
parent | 8317619c2d91aece08082cc46812d78efdf94f7e (diff) | |
download | hurd-261c7ad8acc6cdbe4667afe14d635ecdbe1dc1ba.tar.gz hurd-261c7ad8acc6cdbe4667afe14d635ecdbe1dc1ba.tar.bz2 hurd-261c7ad8acc6cdbe4667afe14d635ecdbe1dc1ba.zip |
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.h | 4 |
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; |