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.
Sponsored by: iXsystems, Inc.
Paths
| Differential D24749 Authored by freqlabs on May 7 2020, 4:46 PM.
Details
Summary 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. Sponsored by: iXsystems, Inc.
Diff Detail
Event TimelineHerald added subscribers: Contributor Reviews (src), imp. · View Herald TranscriptMay 7 2020, 4:46 PM2020-05-07 16:46:23 (UTC+0)
This revision is now accepted and ready to land.May 10 2020, 8:19 PM2020-05-10 20:19:18 (UTC+0) Closed by commit rS361313: Deduplicate fsid comparisons (authored by freqlabs). · Explain WhyMay 21 2020, 1:56 AM2020-05-21 01:56:08 (UTC+0) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 71620 lib/libugidfw/ugidfw.c
sbin/mksnap_ffs/mksnap_ffs.c
sbin/umount/umount.c
sys/fs/nfs/nfsdport.h
|
The name should be tabbed over, rather than spaced over, to match the lines above it.