diff options
Diffstat (limited to 'sys/include/fs/tmpfs.h')
-rw-r--r-- | sys/include/fs/tmpfs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/include/fs/tmpfs.h b/sys/include/fs/tmpfs.h index b2a5bbe..acb5256 100644 --- a/sys/include/fs/tmpfs.h +++ b/sys/include/fs/tmpfs.h @@ -53,7 +53,9 @@ struct tmpfs_node; * @rpath: /tmp/ relative path (for lookups) * @type: The tmpfs node type [one-to-one to vtype] * @len: Length of buffer + * @real_size: Actual size of file * @data: The backing file data + * @mode: File permissions * @dirvp: Vnode of the parent node * @vp: Vnode of the current node * @lock: Lock protecting this node @@ -62,7 +64,9 @@ struct tmpfs_node { char rpath[PATH_MAX]; uint8_t type; size_t len; + size_t real_size; void *data; + mode_t mode; struct vnode *dirvp; struct vnode *vp; struct spinlock lock; |