rm(1): remove whiteouts when forcibly removing directories
Commit 2ed053cde5 changed UFS' VOP_RMDIR() behavior to no longer
ignore whiteouts when determining whether a directory is empty,
unless explicitly requested by the caller. However, this also
necessitates a change to rm(1) to avoid breaking the expected
behavior when forcibly removing directory hierarchies via `rm -fr`.
I neglected to make this follow-on change despite discussing it
in the review for the breaking commit (D45987).
Finally address the breakage by making `rm -fr` imply FTS_WHITEOUT
when rm(1) reads directory contents via fts_read(3). While here,
also fix a logic error which produces a spurious 'No error' warning
message on stdout for each deleted whiteout.
Reported by: csjp
Reviewed by: csjp, kib, olce
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D53640
virtio(4): Fix a couple of typos in kernel messages
- s/reponse/response/
- s/Cannnot/Cannot/
(cherry picked from commit e9058e1444d8e5831a237934ca2316e22fc55f36)
hyper-v: Fix a couple of typos in kernel messages
- s/tranparent/transparent/
- s/Unknow/Unknown/
- s/qury/query/
(cherry picked from commit 1ef6fef9d5c82a106ba8e42c1e087f9b5d1dfec6)
fusefs(5): Fix a couple of typos in kernel messages
- s/intalled/installed/
- s/attributess/attributes/
(cherry picked from commit b57198f620bcbf899a32c3de9526bd525ab8a39e)
freebsd-update: Swap pkg(8) flags in check_pkgbase()
Unbootstrapped pkg will ignore -N if -r is specified first. Flip the
order.
Prior to commit 66c75fa63aff this worked by accident.
PR: 290393
Reported by: olgeni
MFC after: 3 days
Fixes: 66c75fa63aff ("freebsd-update: Fix the pkgbase check")
(cherry picked from commit 645352316be6901077dc1a3ce26f41934136f412)
aic7xxx: Fix a couple of typos in device messages
- s/Reseting/Resetting/
- s/staus/status/
- s/referrenced/referenced/
(cherry picked from commit d1e39f3d6e5fce1a30a5713d522f87d83654c4bd)