From: Jan Kara Subject: Re: [PATCH 3/3] ubifs: remove manual O_SYNC handling Date: Thu, 1 Oct 2009 13:14:01 +0200 Message-ID: <20091001111401.GB24027@duck.suse.cz> References: <20090930201608.GA18503@lst.de> <20090930201716.GD18503@lst.de> <1254382784.32310.15.camel@localhost> <1254382966.32310.17.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Christoph Hellwig , jack@suse.cz, linux-fsdevel@vger.kernel.org, dhowells@redhat.com To: Artem Bityutskiy Return-path: Received: from cantor2.suse.de ([195.135.220.15]:58093 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756358AbZJALN6 (ORCPT ); Thu, 1 Oct 2009 07:13:58 -0400 Content-Disposition: inline In-Reply-To: <1254382966.32310.17.camel@localhost> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Thu 01-10-09 10:42:46, Artem Bityutskiy wrote: > On Thu, 2009-10-01 at 10:39 +0300, Artem Bityutskiy wrote: > > On Wed, 2009-09-30 at 22:17 +0200, Christoph Hellwig wrote: > > > generic_file_aio_write already calls into ->fsync to handle O_SYNC/O_DSYNC. > > > Remove the duplicate call to ubifs_sync_wbufs_by_inode which is already > > > covered by ubifs_fsync. > > > > > > Signed-off-by: Christoph Hellwig > > > > Pushed to ubifs-2.6.git tree, thanks! > > Just to make sure, the patch looks independent on anything else to me, > right? So I pushed it to my 2.6.32-rc1 - based tree. There is a patch dependency on a Christoph's O_DSYNC patch because the check for O_DSYNC used to be a check for O_SYNC. Functionally, there's no dependency... Honza -- Jan Kara SUSE Labs, CR