https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269519

Dag-Erling Smørgrav <d...@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |In Progress

--- Comment #1 from Dag-Erling Smørgrav <d...@freebsd.org> ---
This is easily fixed by removing the removing the assertion in
`tarfs_alloc_node()` and instead checking, at the top, that if `parent` is not
`NULL` then it is a directory, and returning an error if it isn't (which will
then be propagated out).  But part of me thinks this should have been caught by
`tarfs_lookup_path()` before we even got to `tarfs_alloc_node()`.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to