From 8c79b2127ac9a4f5ceec8f5003021e38bffb177e Mon Sep 17 00:00:00 2001 From: Kaimakan71 Date: Sun, 28 Apr 2024 08:11:25 -0400 Subject: kernel: vfs: Pass source vnode to vfsops.init() Signed-off-by: Kaimakan71 Signed-off-by: Ian Moffett --- sys/include/sys/mount.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/include') diff --git a/sys/include/sys/mount.h b/sys/include/sys/mount.h index a9478e7..b208bf7 100644 --- a/sys/include/sys/mount.h +++ b/sys/include/sys/mount.h @@ -39,9 +39,10 @@ struct fs_info; struct mount; +struct vnode; struct vfsops { - int(*init)(struct fs_info *info); + int(*init)(struct fs_info *info, struct vnode *source); }; struct mount { -- cgit v1.2.3