Contents

vfs_isunmount

Determine if an unmount is in progress.

Declaration

int vfs_isunmount(mount_t mp);

Parameters

  • mp:

    Mount to test.

Return Value

Nonzero if an unmount is in progress, else zero.

Discussion

This is an unsynchronized snapshot of the mount state. It should only be called if the mount is known to be valid, e.g. there are known to be live files on that volume.