Page MenuHomeFreeBSD

fstyp(8): define HAVE_ZFS macro when built with zfs
ClosedPublic

Authored by rew on May 12 2021, 3:17 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jul 2, 1:53 AM
Unknown Object (File)
Tue, Jun 25, 2:59 AM
Unknown Object (File)
Thu, Jun 20, 8:36 AM
Unknown Object (File)
Jun 3 2024, 5:52 AM
Unknown Object (File)
Apr 27 2024, 6:04 PM
Unknown Object (File)
Apr 27 2024, 6:03 PM
Unknown Object (File)
Apr 27 2024, 6:03 PM
Unknown Object (File)
Apr 27 2024, 6:03 PM
Subscribers

Details

Summary

The HAVE_ZFS macro was dropped from the Makefile during the OpenZFS
merge, bring it back.

PR: 255616
Reported by: Michael Büker <freebsd@michael-bueker.de>
Submitted by: Michael Büker <freebsd@michael-bueker.de>
Fixes: 9e5787d2284e187abb5b654d924394a65772e004

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 39132
Build 36021: arc lint + arc unit

Event Timeline

rew requested review of this revision.May 12 2021, 3:17 AM
rew retitled this revision from fstype(8): define HAVE_ZFS macro when built with zfs to fstyp(8): define HAVE_ZFS macro when built with zfs.May 12 2021, 3:20 AM
This revision was not accepted when it landed; it landed in state Needs Review.May 13 2021, 1:34 AM
This revision was automatically updated to reflect the committed changes.
rew removed rG FreeBSD src repository as the repository for this revision.
rew removed subscribers: rgrimes, bcran.

previous diff was an error, this is the correct diff.

markj added a subscriber: markj.
markj added inline comments.
usr.sbin/fstyp/Makefile
31–32

BTW, this line doesn't appear to be needed at least on amd64.

This revision is now accepted and ready to land.May 13 2021, 12:37 PM
usr.sbin/fstyp/Makefile
31–32

Since you point it out, I notice that it appears to be unused. WARNS is already set to 2 farther up (line 15).

I'll remove this line on commit if there's no objection.

usr.sbin/fstyp/Makefile
31–32

Works for me, thanks.