Name

freeze_super — lock the filesystem and force it into a consistent state

Synopsis

int freeze_super (struct super_block * sb);
 

Arguments

sb

the super to lock

Description

Syncs the super to make sure the filesystem is consistent and calls the fs's freeze_fs. Subsequent calls to this without first thawing the fs will return -EBUSY.