The NWFS code in RELENG_6 is broken due to a typo in

sys/fs/nwfs/nwfs_vfsop= s.c, introduced with the conversion to
nmount with revision 1.38. This causes mount_nwfs to fail with
the error message:

  mount_nwfs: mount error: /mnt/netware: syserr = No such file or directo=
ry

This is caused by a typo on line 178, which specifies "nwfw_args"
rather than "nwfs_args".

Submitted by:	Antony Mawer <gnats@mawer.org>
Fat fingers:	phk
PR:		86757
MFC:		3 days
This commit is contained in:
Poul-Henning Kamp 2005-09-30 18:21:05 +00:00
parent bd3c2d867d
commit 73a2c3a32e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=150761

View file

@ -175,7 +175,7 @@ static int nwfs_mount(struct mount *mp, struct thread *td)
nwfs_printf("MNT_UPDATE not implemented");
return (EOPNOTSUPP);
}
error = vfs_copyopt(mp->mnt_optnew, "nwfw_args", &args, sizeof args);
error = vfs_copyopt(mp->mnt_optnew, "nwfs_args", &args, sizeof args);
if (error)
return (error);
if (args.version != NWFS_VERSION) {