diff --git a/sys/fs/tmpfs/tmpfs_vfsops.c b/sys/fs/tmpfs/tmpfs_vfsops.c index 74aeba15cb8e..8316c70a69dd 100644 --- a/sys/fs/tmpfs/tmpfs_vfsops.c +++ b/sys/fs/tmpfs/tmpfs_vfsops.c @@ -150,10 +150,8 @@ tmpfs_mount(struct mount *mp) return (EINVAL); if (mp->mnt_flag & MNT_UPDATE) { - /* XXX: There is no support yet to update file system - * settings. Should be added. */ - - return EOPNOTSUPP; + if (vfs_flagopt(mp->mnt_optnew, "export", NULL, 0)) + return (0); } vn_lock(mp->mnt_vnodecovered, LK_SHARED | LK_RETRY);