Re: [PATCH] doc: watchdog simple example: don't fail on fsync()

From: Wim Van Sebroeck
Date: Mon Mar 29 2010 - 14:40:49 EST


Hi Giel,

> Don't terminate the watchdog daemon when fsync() fails because no
> watchdog driver actually implements the fsync() syscall.

Wouldn't it be simpler then to just do an fsync without checking the error-result?

Kind regards,
Wim.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/