]> git.decadent.org.uk Git - nfs-utils.git/commit
Address an inconsistency: the mount.nfs command uses the glibc routines
authorSteve Dickson <steved@redhat.com>
Wed, 16 Jan 2008 16:53:41 +0000 (11:53 -0500)
committerSteve Dickson <steved@redhat.com>
Wed, 16 Jan 2008 16:53:41 +0000 (11:53 -0500)
commitabb00ff7cff3c6540978d9b463dee3d4fdda15f4
tree6312359365df2d9e808e17c87f1d38ade4c1206b
parentfa087f2dece4b1d322d951e9353e8ab93208194d
Address an inconsistency:  the mount.nfs command uses the glibc routines
to manipulate /etc/mtab (setmntent) but, everything else in nfs-utils
uses a local private version (nfs_setmntent).  The local version does
some extra mangling of the mtab entries.

We should check what util-linux does these days to be sure, but for now,
let's make the mount.nfs command use the nfs_ variants of setmntent().

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
utils/mount/mount.c