diff options
Diffstat (limited to 'src/sys/include')
-rw-r--r-- | src/sys/include/sys/mount.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/sys/include/sys/mount.h b/src/sys/include/sys/mount.h index 0296b70..3c4d0be 100644 --- a/src/sys/include/sys/mount.h +++ b/src/sys/include/sys/mount.h @@ -56,12 +56,15 @@ extern struct vfsops g_omar_vfsops; /* * Represents a mountpoint + * + * @vp: Vnode of mount + * @name: Mountname + * @link: TAILQ link */ struct mount { struct vnode *vp; - const char *name; + char name[FSNAME_MAX]; TAILQ_ENTRY(mount) link; - TAILQ_HEAD(, mount) buckets; }; /* @@ -76,12 +79,14 @@ struct mountlist { /* * Arguments for mount() * + * @vp_res: Vnode result * @source: Specifies the source filesystem to mount * @target: Specifies the location to mount source * @fstype: File system type * @data: Filesystem specific data */ struct mount_args { + struct vnode *vp_res; const char *source; const char *target; const char *fstype; |