A much better way to deal with that would be to limit the freeze to
the lifetime of the process somehow. E.g. the freeze ioctl sets a bit
in struct file (I'm sure we have some available) and release on the
file checks this bit and thaws the filesystem.
This would mean that freeze and thaw will have to be done on the same
file descriptor, but this isn't unreasonable to expect, is it?
Miklos
--