From patchwork Tue Mar 13 10:49:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoph Hellwig X-Patchwork-Id: 10278171 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 59DAD6038F for ; Tue, 13 Mar 2018 10:49:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4834B28F27 for ; Tue, 13 Mar 2018 10:49:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3CBD828F3B; Tue, 13 Mar 2018 10:49:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D3B6728F27 for ; Tue, 13 Mar 2018 10:49:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932900AbeCMKto (ORCPT ); Tue, 13 Mar 2018 06:49:44 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:37948 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932885AbeCMKtl (ORCPT ); Tue, 13 Mar 2018 06:49:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=References:In-Reply-To:Message-Id: Date:Subject:To:From:Sender:Reply-To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=2XwEYAVM0EQHXyTMEtj4epiB/d9+t3OqzDshI52OtjY=; b=e8CPspl2kZWZLF45kVjCB82eX iycM1OE71tfmVlJ8q6fhT04QBQJlqB0buNB6OE6us0ki8eiK3GEab+RXwGvpO64yAOQwO2gl1mtby 1xzo0CqZd+0qoz8pTYI3Mk9irOAG//JJIuTJDAuZq3j1ZPI+zoOK6KmcfQ4qzMNyJXgHV0gizf0OR xuu5WTQuwTiVn3DCSUvKhxFqs4ie296s9NZrstEPUWBUk4NtRLDBQkss8EWBmB9MltBwSHXkpKU44 9t5UJAbNnejMnXk8AknIVLMOwES2a3VroFPDOPUx26Ful+uRjpN/l+9JcVpkJhMT7whbU0B8JWM03 KoAHn5/2A==; Received: from 77.117.139.172.wireless.dyn.drei.com ([77.117.139.172] helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1evhUy-0006Fy-Os for linux-xfs@vger.kernel.org; Tue, 13 Mar 2018 10:49:41 +0000 From: Christoph Hellwig To: linux-xfs@vger.kernel.org Subject: [PATCH 3/8] xfs: remove the unused log_flushed variable in xfs_extent_busy_flush Date: Tue, 13 Mar 2018 11:49:22 +0100 Message-Id: <20180313104927.12926-4-hch@lst.de> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180313104927.12926-1-hch@lst.de> References: <20180313104927.12926-1-hch@lst.de> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-xfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-xfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Christoph Hellwig Reviewed-by: Darrick J. Wong --- fs/xfs/xfs_extent_busy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/xfs/xfs_extent_busy.c b/fs/xfs/xfs_extent_busy.c index 77760dbf0242..1b439db95634 100644 --- a/fs/xfs/xfs_extent_busy.c +++ b/fs/xfs/xfs_extent_busy.c @@ -611,10 +611,10 @@ xfs_extent_busy_flush( unsigned busy_gen) { DEFINE_WAIT (wait); - int log_flushed = 0, error; + int error; trace_xfs_log_force(mp, 0, _THIS_IP_); - error = _xfs_log_force(mp, XFS_LOG_SYNC, &log_flushed); + error = _xfs_log_force(mp, XFS_LOG_SYNC, NULL); if (error) return;