From patchwork Tue Mar 27 07:19:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nikolay Borisov X-Patchwork-Id: 10309429 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 65DF16037D for ; Tue, 27 Mar 2018 07:19:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4AD7B29BCE for ; Tue, 27 Mar 2018 07:19:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3F9D929BD0; Tue, 27 Mar 2018 07:19:59 +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.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI 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 E1B6829BCE for ; Tue, 27 Mar 2018 07:19:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752113AbeC0HTz (ORCPT ); Tue, 27 Mar 2018 03:19:55 -0400 Received: from mx2.suse.de ([195.135.220.15]:52224 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751056AbeC0HTn (ORCPT ); Tue, 27 Mar 2018 03:19:43 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id F3100B045 for ; Tue, 27 Mar 2018 07:19:41 +0000 (UTC) From: Nikolay Borisov To: linux-btrfs@vger.kernel.org Cc: Nikolay Borisov Subject: [PATCH 08/10] btrfs-progs: Drop ext_ref arument from check_fs_root Date: Tue, 27 Mar 2018 10:19:30 +0300 Message-Id: <1522135172-8276-9-git-send-email-nborisov@suse.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1522135172-8276-1-git-send-email-nborisov@suse.com> References: <1522135172-8276-1-git-send-email-nborisov@suse.com> Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP It's no longer used so just remove it. Signed-off-by: Nikolay Borisov --- check/mode-lowmem.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/check/mode-lowmem.c b/check/mode-lowmem.c index daa088c056b6..eb6ca6453dc5 100644 --- a/check/mode-lowmem.c +++ b/check/mode-lowmem.c @@ -4342,12 +4342,11 @@ static int check_btrfs_root(struct btrfs_trans_handle *trans, * Iterate all items in the tree and call check_inode_item() to check. * * @root: the root of the tree to be checked. - * @ext_ref: the EXTENDED_IREF feature * * Return 0 if no error found. * Return <0 for error. */ -static int check_fs_root(struct btrfs_root *root, unsigned int ext_ref) +static int check_fs_root(struct btrfs_root *root) { reset_cached_block_groups(root->fs_info); return check_btrfs_root(NULL, root, 0); @@ -4503,7 +4502,7 @@ int check_fs_roots_lowmem(struct btrfs_fs_info *fs_info) goto next; } - ret = check_fs_root(cur_root, ext_ref); + ret = check_fs_root(cur_root); err |= ret; if (key.objectid == BTRFS_TREE_RELOC_OBJECTID)