HomeFreeBSD

When shrinking the size of a directory it is sometimes necessary to

Description

When shrinking the size of a directory it is sometimes necessary to
sync it to disk before shrinking it. Complete the sync before getting
the buffer for the block to be updated to do the shrink to avoid
panicing with a recursive lock on one of the directory's buffers.

Reviewed by: Chuck Silvers (chs)
MFC after: 3 days
Sponsored by: Netflix

Details

Provenance
mckusickAuthored on
Parents
rS359612: Convert DOINGSOFTDEP, MOUNTEDSOFTDEP, DOINGSUJ, and MOUNTEDSUJ to being
Branches
Unknown
Tags
Unknown