path: root/lib/libufs/libufs.h
diff options
authorRick Macklem <rmacklem@FreeBSD.org>2022-05-28 22:48:40 +0000
committerRick Macklem <rmacklem@FreeBSD.org>2022-05-28 22:48:40 +0000
commit7cab630ba4fb26bf85336a89d88721ed2315c46c (patch)
treed6d8debcc65ca4dae8e767b9ccf5d713bf5596a0 /lib/libufs/libufs.h
parent6a5eebc190ab98de98ed7977cbdee3218758376e (diff)
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
Diffstat (limited to 'lib/libufs/libufs.h')
0 files changed, 0 insertions, 0 deletions