Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 9 Jul 2002 14:46:11 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 9 Jul 2002 14:46:09 -0400 Received: from lightning.swansea.linux.org.uk ([194.168.151.1]:49924 "EHLO the-village.bc.nu") by vger.kernel.org with ESMTP id ; Tue, 9 Jul 2002 14:45:40 -0400 Subject: Re: [PATCH] 2.4.19-rc1/2.5.25 provide dummy fsync() routine for directories on NFS mounts To: root@chaos.analogic.com Date: Tue, 9 Jul 2002 20:11:09 +0100 (BST) Cc: alan@lxorguk.ukuu.org.uk (Alan Cox), trond.myklebust@fys.uio.no (Trond Myklebust), nfs@lists.sourceforge.net, linux-kernel@vger.kernel.org In-Reply-To: from "Richard B. Johnson" at Jul 09, 2002 01:22:29 PM X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: From: Alan Cox Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 530 Lines: 10 > Really? Then what is the meaning of fsync() on a read-only file- > descriptor? You can't update the information you can't change. fsync ensures the data for that inode/file content is on stable storage - note _the_ _data_ not only random things written by this specific file handle. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/