freebsd-dev/sbin
Rick Macklem 7cab630ba4 mount_nfs: Only create a mounttab file entry is nmount(2) succeeds
mount_nfs creates entries in the mounttab file and umount removes
them.  Entries in the mounttab file ae used by rpc.umntall to
notify the NFS server that NFSv3 entries need to be removed when
they have not been removed by umount.

Without this patch, an enty will be created in the mounttab file,
even if the nmount(2) syscall fails for the mount.  This patch
modifies the code so that the mounttab entry is only created
after nmount(2) succeeds.

This change only affects NFSv3 and only affects how showmount
displays NFSv3 mounts.

MFC after:	2 weeks
2022-05-28 15:48:40 -07:00
..
adjkerntz
bectl bectl: push space-in-name check down into libbe 2022-04-02 21:04:31 -05:00
bsdlabel *: Do not use the no-op -r flag for bsdlabel(8) 2022-03-17 17:28:07 +01:00
camcontrol camcontrol(8): Fix typo in a source code comment 2022-03-28 19:36:01 +02:00
ccdconfig *: Do not use the no-op -r flag for bsdlabel(8) 2022-03-17 17:28:07 +01:00
clri
comcontrol
conscontrol
ddb
decryptcore
devd pkgbase: move devd's hyperv.conf to hyperv-tools package 2022-05-03 18:15:54 +02:00
devfs devfs.rules: Do not expose "log" in the default devfs rules. 2022-05-24 09:54:38 -04:00
devmatch
dhclient dhclient: test against a real (ISC) dhcp server 2022-05-25 17:02:38 -07:00
dmesg dmesg: Better wording from review 2022-05-07 09:55:40 -06:00
dump ufs: Rework shortlink handling to avoid subobject overflows 2022-01-02 20:55:36 +00:00
dumpfs
dumpon dumpon: warn if the configured netdump link is down 2022-05-14 10:27:54 -03:00
etherswitchcfg
fdisk
ffsinfo
fsck fsck(8): Fix typo 2022-01-12 13:52:23 +08:00
fsck_ffs Clean up comments in fsck.h. 2022-05-10 16:06:15 -07:00
fsck_msdosfs
fsdb Update fsdb(8) to reflect new structure of fsck_ffs(8). 2022-02-23 15:40:58 -08:00
fsirand
gbde
geom geom(4): Fix a typo in a source code comment 2022-03-28 19:28:08 +02:00
ggate ggatec: Use ANSI C definition for init_initial_buffer_size. 2022-01-31 17:12:04 -08:00
growfs
gvinum GEOM: Introduce gctl_add_param() API. 2022-03-07 11:12:25 -05:00
hastctl
hastd hastd(8): Fix a typo in a source code comment 2022-04-09 14:06:30 +02:00
ifconfig arp: Implement sticky ARP mode for interfaces. 2022-05-27 12:41:30 +00:00
init init(8): use proper boolean type for globals 2022-02-21 20:16:13 -04:00
ipf ipnat(5): Fix a double word in the manual page 2022-04-09 09:28:43 +02:00
ipfw ipfw.8: spell "layer2" consistently throughout the manual page 2022-05-14 04:30:29 +07:00
kldconfig
kldload
kldstat
kldunload
ldconfig ldconfig: remove two symbols 2022-01-08 12:45:46 +02:00
md5 update external URLs 2022-02-05 08:19:56 +00:00
mdconfig
mdmfs
mknod
mksnap_ffs
mount mount: use pidfile_signal 2022-04-09 15:59:43 +00:00
mount_cd9660
mount_fusefs fusefs: use the fsname mount option if set 2022-04-29 11:10:03 -06:00
mount_msdosfs
mount_nfs mount_nfs: Only create a mounttab file entry is nmount(2) succeeds 2022-05-28 15:48:40 -07:00
mount_nullfs Improve description of the nocache option. 2022-05-06 13:03:30 +02:00
mount_udf
mount_unionfs
natd
newfs *: Do not use the no-op -r flag for bsdlabel(8) 2022-03-17 17:28:07 +01:00
newfs_msdos newfs_msdos: Fix warnings that arise when compiled for makefs 2022-05-10 17:26:50 -04:00
nfsiod
nos-tun
nvmecontrol nvme: fix spelling of Namespace 2022-02-21 10:34:46 -08:00
pfctl pfctl: fix out-of-bounds access 2022-05-22 10:31:42 +02:00
pfilctl
pflogd
ping ping: add missing test files to Makefile 2022-05-20 22:13:02 -05:00
ping6
quotacheck
rcorder
reboot Cross-reference nextboot(8) and freebsd-update(8) 2022-03-29 15:15:35 +02:00
recoverdisk
resolvconf
restore
route route: remove write-only struct hostent from getaddr() 2022-01-06 10:45:44 -05:00
routed routed(8): Remove a double word in a source code comment 2022-04-09 14:36:20 +02:00
rtsol
savecore savecore: add an option to save a live minidump 2022-04-18 12:56:16 -03:00
sconfig pkgbase: Put sconfig in FreeBSD-utilities 2021-12-21 10:16:08 +01:00
setkey If setkey(8) is used without ipsec.ko loaded beforehand, 2022-05-05 19:02:29 +07:00
shutdown boottrace: annotate init and shutdown utilities 2022-02-21 20:16:07 -04:00
swapon
sysctl sysctl(8): Mention CTLFLAG_SKIP 2022-03-20 11:30:43 -07:00
tests
tunefs
umount umount(8): Remove a double word in a source code comment 2022-04-09 10:13:45 +02:00
veriexec veriexec(8): explain that only a unique prefix is required 2022-02-14 13:54:22 -08:00
zfsbootcfg
Makefile
Makefile.amd64 Revert "amd64: Do not build sconfig" 2021-12-21 10:14:45 +01:00
Makefile.arm
Makefile.i386
Makefile.inc
Makefile.mips
Makefile.powerpc64