HomeFreeBSD

vfs: add more safety against concurrent forced unmount to vn_write

Description

vfs: add more safety against concurrent forced unmount to vn_write

  1. stop re-reading ->v_mount (can become NULL)
  2. stop re-reading ->v_type (can change to VBAD)

(cherry picked from commit ca1ce50b2b5ef11d85841f3aead98b2a9ad18819)

Details

Provenance
mjgAuthored on May 14 2021, 11:26 AM
Parents
rG4869c1571f34: vfs: lockless writecount adjustment in set/unset text
Branches
Unknown
Tags
Unknown