Add nfs export support to tmpfs(5)
Reviewed by: kib
This commit is contained in:
parent
1725d903e6
commit
ba45f0caad
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user