DESC
Make jsync() check fsync() return value.
EDESC

Check fsync()'s return value inside jsync(), and avoid the cleanup if it
failed.
