From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752883AbZHSQGA (ORCPT ); Wed, 19 Aug 2009 12:06:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752217AbZHSQF6 (ORCPT ); Wed, 19 Aug 2009 12:05:58 -0400 Received: from cantor.suse.de ([195.135.220.2]:55956 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752011AbZHSQEs (ORCPT ); Wed, 19 Aug 2009 12:04:48 -0400 From: Jan Kara To: LKML Cc: hch@infradead.org, Jan Kara , Felix Blyakher , xfs@oss.sgi.com Subject: [PATCH 14/17] xfs: Use new syncing helper Date: Wed, 19 Aug 2009 18:04:41 +0200 Message-Id: <1250697884-22288-15-git-send-email-jack@suse.cz> X-Mailer: git-send-email 1.6.0.2 In-Reply-To: <1250697884-22288-1-git-send-email-jack@suse.cz> References: <1250697884-22288-1-git-send-email-jack@suse.cz> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use new generic_write_sync() helper from xfs_write(). CC: Felix Blyakher CC: xfs@oss.sgi.com Signed-off-by: Jan Kara --- fs/xfs/linux-2.6/xfs_lrw.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/xfs/linux-2.6/xfs_lrw.c b/fs/xfs/linux-2.6/xfs_lrw.c index 7078974..aeb5a39 100644 --- a/fs/xfs/linux-2.6/xfs_lrw.c +++ b/fs/xfs/linux-2.6/xfs_lrw.c @@ -817,7 +817,7 @@ write_retry: xfs_iunlock(xip, iolock); if (need_i_mutex) mutex_unlock(&inode->i_mutex); - error2 = sync_page_range(inode, mapping, pos, ret); + error2 = generic_write_sync(file, pos, ret); if (!error) error = error2; if (need_i_mutex) -- 1.6.0.2 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n7JG4JAh216147 for ; Wed, 19 Aug 2009 11:04:30 -0500 Received: from mx1.suse.de (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 15F971BDBC93 for ; Wed, 19 Aug 2009 09:04:48 -0700 (PDT) Received: from mx1.suse.de (cantor.suse.de [195.135.220.2]) by cuda.sgi.com with ESMTP id b255TqfllimLv3Bo for ; Wed, 19 Aug 2009 09:04:48 -0700 (PDT) From: Jan Kara Subject: [PATCH 14/17] xfs: Use new syncing helper Date: Wed, 19 Aug 2009 18:04:41 +0200 Message-Id: <1250697884-22288-15-git-send-email-jack@suse.cz> In-Reply-To: <1250697884-22288-1-git-send-email-jack@suse.cz> References: <1250697884-22288-1-git-send-email-jack@suse.cz> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xfs-bounces@oss.sgi.com Errors-To: xfs-bounces@oss.sgi.com To: LKML Cc: hch@infradead.org, Jan Kara , xfs@oss.sgi.com Use new generic_write_sync() helper from xfs_write(). CC: Felix Blyakher CC: xfs@oss.sgi.com Signed-off-by: Jan Kara --- fs/xfs/linux-2.6/xfs_lrw.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/xfs/linux-2.6/xfs_lrw.c b/fs/xfs/linux-2.6/xfs_lrw.c index 7078974..aeb5a39 100644 --- a/fs/xfs/linux-2.6/xfs_lrw.c +++ b/fs/xfs/linux-2.6/xfs_lrw.c @@ -817,7 +817,7 @@ write_retry: xfs_iunlock(xip, iolock); if (need_i_mutex) mutex_unlock(&inode->i_mutex); - error2 = sync_page_range(inode, mapping, pos, ret); + error2 = generic_write_sync(file, pos, ret); if (!error) error = error2; if (need_i_mutex) -- 1.6.0.2 _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs