summaryrefslogtreecommitdiff
path: root/libnetfs/netfs.h
diff options
context:
space:
mode:
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;