Page MenuHomeFreeBSD

makefs: handle mtree link= for ZFS
ClosedPublic

Authored by brooks on Jan 12 2023, 12:11 AM.
Tags
None
Referenced Files
F101850142: D38028.diff
Mon, Nov 4, 4:26 PM
Unknown Object (File)
Thu, Oct 31, 4:09 PM
Unknown Object (File)
Sun, Oct 27, 7:31 AM
Unknown Object (File)
Fri, Oct 18, 11:14 AM
Unknown Object (File)
Thu, Oct 17, 8:22 PM
Unknown Object (File)
Tue, Oct 8, 7:06 AM
Unknown Object (File)
Oct 3 2024, 3:24 AM
Unknown Object (File)
Sep 25 2024, 7:12 PM
Subscribers

Details

Summary

When a link target is specified use it rather than attempting to read
a potentially non-existant file.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 49073
Build 45962: arc lint + arc unit

Event Timeline

markj added inline comments.
usr.sbin/makefs/zfs/fs.c
304

n is signed so this might give rise to a signed/unsigned comparison warning? Perhaps add a declaration of n to each block.

This revision is now accepted and ready to land.Jan 12 2023, 2:23 AM
  • Avoid signed vs unsigned comparison issues
This revision now requires review to proceed.Jan 12 2023, 5:47 PM
This revision was not accepted when it landed; it landed in state Needs Review.Jan 12 2023, 6:21 PM
This revision was automatically updated to reflect the committed changes.