summaryrefslogtreecommitdiff
path: root/sys/inc/kern
diff options
context:
space:
mode:
Diffstat (limited to 'sys/inc/kern')
-rw-r--r--sys/inc/kern/mount.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/inc/kern/mount.h b/sys/inc/kern/mount.h
index 1c3dde6..747514c 100644
--- a/sys/inc/kern/mount.h
+++ b/sys/inc/kern/mount.h
@@ -37,6 +37,7 @@
/* Filesystem names */
#define MOUNT_TMPFS "tmpfs"
+struct mount;
struct fs_info;
/*
@@ -55,7 +56,8 @@ struct mount_args {
* on filesystem objects
*/
struct vfsops {
- int(*mount)(struct fs_info *fip, void *data);
+ int(*mount)(struct fs_info *fip, struct mount *mpoint);
+ int(*init)(struct fs_info *fip);
};
/*
@@ -63,12 +65,10 @@ struct vfsops {
*
* @name: Name of filesystem
* @vfsops: Represents operations that can be performed
- * @is_mounted: Set if filesystem is mounted
*/
struct fs_info {
char *name;
struct vfsops *vfsops;
- uint8_t is_mounted : 1;
};
/*