Changeset View
Changeset View
Standalone View
Standalone View
sys/fs/tmpfs/tmpfs_vfsops.c
Show First 20 Lines • Show All 704 Lines • ▼ Show 20 Lines | |||||
/* | /* | ||||
* tmpfs vfs operations. | * tmpfs vfs operations. | ||||
*/ | */ | ||||
struct vfsops tmpfs_vfsops = { | struct vfsops tmpfs_vfsops = { | ||||
.vfs_mount = tmpfs_mount, | .vfs_mount = tmpfs_mount, | ||||
.vfs_unmount = tmpfs_unmount, | .vfs_unmount = tmpfs_unmount, | ||||
.vfs_root = tmpfs_root, | .vfs_root = vfs_cache_root, | ||||
.vfs_cachedroot = tmpfs_root, | |||||
.vfs_statfs = tmpfs_statfs, | .vfs_statfs = tmpfs_statfs, | ||||
.vfs_fhtovp = tmpfs_fhtovp, | .vfs_fhtovp = tmpfs_fhtovp, | ||||
.vfs_sync = tmpfs_sync, | .vfs_sync = tmpfs_sync, | ||||
.vfs_susp_clean = tmpfs_susp_clean, | .vfs_susp_clean = tmpfs_susp_clean, | ||||
}; | }; | ||||
VFS_SET(tmpfs_vfsops, tmpfs, VFCF_JAIL); | VFS_SET(tmpfs_vfsops, tmpfs, VFCF_JAIL); |