From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752859Ab0C2Skp (ORCPT ); Mon, 29 Mar 2010 14:40:45 -0400 Received: from mailrelay003.isp.belgacom.be ([195.238.6.53]:21266 "EHLO mailrelay003.isp.belgacom.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750957Ab0C2Skn (ORCPT ); Mon, 29 Mar 2010 14:40:43 -0400 X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAIGPsEtR9cAU/2dsb2JhbACbJHLAUg2EdAQ Date: Mon, 29 Mar 2010 20:40:41 +0200 From: Wim Van Sebroeck To: Giel van Schijndel Cc: Randy Dunlap , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] doc: watchdog simple example: don't fail on fsync() Message-ID: <20100329184041.GU3823@infomag.iguana.be> References: <1269260557-18150-1-git-send-email-me@mortis.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1269260557-18150-1-git-send-email-me@mortis.eu> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.