aboutsummaryrefslogtreecommitdiff
path: root/sys/fs/tmpfs/tmpfs_vfsops.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/tmpfs/tmpfs_vfsops.c')
-rw-r--r--sys/fs/tmpfs/tmpfs_vfsops.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/fs/tmpfs/tmpfs_vfsops.c b/sys/fs/tmpfs/tmpfs_vfsops.c
index a2ebf09a0c0f..73eca0607d88 100644
--- a/sys/fs/tmpfs/tmpfs_vfsops.c
+++ b/sys/fs/tmpfs/tmpfs_vfsops.c
@@ -215,6 +215,9 @@ tmpfs_mount(struct mount *mp, struct thread *td)
return EOPNOTSUPP;
}
+ printf("WARNING: TMPFS is considered to be a highly experimental "
+ "feature in FreeBSD.\n");
+
vn_lock(mp->mnt_vnodecovered, LK_SHARED | LK_RETRY, td);
error = VOP_GETATTR(mp->mnt_vnodecovered, &va, mp->mnt_cred, td);
VOP_UNLOCK(mp->mnt_vnodecovered, 0, td);