filesystem freeze: add error handling of write_super_lockfs/unlockfs