1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00

Exporting of NTFS filesystem broke in rev 1.70. Fix it.

Approved by:	phk, grehan (mentor)
This commit is contained in:
Suleiman Souhlal 2004-12-13 16:21:48 +00:00
parent b8e19b78df
commit 3d96167a54
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=138810

View File

@ -154,15 +154,12 @@ ntfs_mount (
/*
* If updating, check whether changing from read-only to
* read/write; if there is no device name, that's all we do.
* read/write.
*/
if (mp->mnt_flag & MNT_UPDATE) {
/* if not updating name...*/
if (from == NULL) {
error = vfs_copyopt(mp->mnt_optnew, "export",
&export, sizeof export);
if (error)
return (error);
error = vfs_copyopt(mp->mnt_optnew, "export",
&export, sizeof export);
if ((error == 0) && export.ex_flags != 0) {
/*
* Process export requests. Jumping to "success"
* will return the vfs_export() error code.