Dual eof condition for VFS.

Equivalent to the change by Marc Eshel for GPFS, but
streamlined slightly.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>