freebsd-dev/usr.sbin/autofs
Ryan Moeller 245bfd34da Deduplicate fsid comparisons
Comparing fsid_t objects requires internal knowledge of the fsid structure
and yet this is duplicated across a number of places in the code.

Simplify by creating a fsidcmp function (macro).

Reviewed by:	mjg, rmacklem
Approved by:	mav (mentor)
MFC after:	1 week
Sponsored by:	iXsystems, Inc.
Differential Revision:	https://reviews.freebsd.org/D24749
2020-05-21 01:55:35 +00:00
..
autofs Move autofs related configs to usr.sbin/autofs/ 2018-08-04 22:41:17 +00:00
auto_master Add the "autoro" flag to /media. This makes it attempt to mount 2018-08-14 13:52:08 +00:00
auto_master.5 There is no way of escaping literal $ signs in auto_master(5), which 2018-12-28 15:11:22 +00:00
automount.8 Autofs is section 5, not 4. 2016-02-29 17:14:04 +00:00
automount.c Add SPDX tags for automount(8) et al. 2018-01-24 16:39:02 +00:00
automountd.8
automountd.c Add SPDX tags for automount(8) et al. 2018-01-24 16:39:02 +00:00
autounmountd.8
autounmountd.c Deduplicate fsid comparisons 2020-05-21 01:55:35 +00:00
common.c Fix segfault that could occur on "automount -LL". 2019-04-10 16:09:06 +00:00
common.h Add SPDX tags for automount(8) et al. 2018-01-24 16:39:02 +00:00
defined.c There is no way of escaping literal $ signs in auto_master(5), which 2018-12-28 15:11:22 +00:00
log.c Add SPDX tags for automount(8) et al. 2018-01-24 16:39:02 +00:00
Makefile Stop hardcoding WARNS in automount(8) et al. 2020-04-01 15:08:13 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
popen.c Add SPDX tags for automount(8) et al. 2018-01-24 16:39:02 +00:00
token.l Add SPDX tags for automount(8) et al. 2018-01-24 16:39:02 +00:00