]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r317931
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 22 May 2017 21:52:06 +0000 (21:52 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 22 May 2017 21:52:06 +0000 (21:52 +0000)
commit774bed8982886eca0f633c312e383b01c69beb3f
tree6a76ac6638dccbe877040837ac68e5c41fe61831
parent3748c3858486397a0700d57011d599b50cfcf339
MFC: r317931
Fix mount_nfs so that it doesn't create mounttab entries for NFSv4 mounts.

The NFSv4 protocol doesn't use the Mount protocol, so it doesn't make sense
to add an entry for an NFSv4 mount to /var/db/mounttab. Also, r308871
modified umount so that it doesn't remove any entry created by mount_nfs.

git-svn-id: svn://svn.freebsd.org/base/stable/10@318683 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sbin/mount_nfs/mount_nfs.c