Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp731394ybc; Sat, 16 Nov 2019 07:43:37 -0800 (PST) X-Google-Smtp-Source: APXvYqzr7gu1nCkZs5eCenNTGwHFkVjvtvBckBtW7u3sbn+EU6nCEOb8Z8g5P7axWoGBbX1EE8l2 X-Received: by 2002:a17:906:ecb8:: with SMTP id qh24mr10197129ejb.174.1573919017374; Sat, 16 Nov 2019 07:43:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573919017; cv=none; d=google.com; s=arc-20160816; b=LLgQTMk/M9jhO5I2i+aQ2BUZ4OIO5fmI2Gu4NUNsotmE2xxBdMkkwCDUK1CO+onclm Sruaj2iTdZohK9D8PlwDP5zREI7LvU2iHRTKDF+sfvZuLqDlTJuKTt2w4wHLa1yIF9rF GkFA5C/3MpL062wb2D7cDiDvHyPO/CtGz0t6dhE4qUVFiVXz4i1lWsvixhSZNXOUXPvS xHxuLObNVNoPsb7HDtwVVcQF9MMeRZaIQLkVGQ6DItO3ZD17iFYeB545MU19pXF0mvTY lZg5t/gb4UnBYqxQyPqO10/nAHTXjAObm59mJeKOAXZaExpwYizEQeoMGJbnHfJ7PbTK Uj4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ad+hKo6oTe0w0U3oE0IwsCe4mTr6Ti+2t42oHFhYYK8=; b=hxWXPVqwATc58pntiDl/q+FMPBWahBIg/I79JQtkjbPynXCHlhWUddFGCuBFfQcFEH rPsBPx9oeO5MxRmOdqH9dqTj1+gDtP+KhVcM3CrASXIYBqHjJt0JhD7BTInFapHbZoHf mKCA5DeGkNHj8MTReNvq7lLoJSRono7LD5AI6TN9RPYQKTkAiYZ1V2LQDlKt1SHo/7pV OjfU8wDnrfYDQBAG02C3Xjw8gGYBpZ4uKUYYiw2umuNcrS+ZgB0yZEfZlFHzaQaUQX7R w2JLX1JzhO5b1a5THuhzh7awAprOiKKM/KtqDhZkSff3oXXku4SMq3xeUhr6mAC0facV xDjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=0tcXMB9o; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k4si7973671eji.269.2019.11.16.07.43.12; Sat, 16 Nov 2019 07:43:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=0tcXMB9o; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728008AbfKPPlr (ORCPT + 99 others); Sat, 16 Nov 2019 10:41:47 -0500 Received: from mail.kernel.org ([198.145.29.99]:44896 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727965AbfKPPlk (ORCPT ); Sat, 16 Nov 2019 10:41:40 -0500 Received: from sasha-vm.mshome.net (unknown [50.234.116.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C120320729; Sat, 16 Nov 2019 15:41:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1573918900; bh=1Y55KVJFBoohB1r9B+QbKqjxNBNey+IOHMAq3LWOavs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=0tcXMB9oYbRLNWlBoRLV2UYSFAToC8Um/wRjAlhO4VhIsqu4ZECeV7p/Jq90R0uXH YMEvcMUkHSKwUtrXdTSDLKKv2AzZdylwXBkSXdQ29uAWdEfUjxlvG86wWxo7eJXxCD hGz7N054Z3OVglDl5G1AavqHxXOFV7MM5L6lNsfk= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Liu Bo , David Sterba , Sasha Levin , linux-btrfs@vger.kernel.org Subject: [PATCH AUTOSEL 4.19 028/237] Btrfs: fix alignment in declaration and prototype of btrfs_get_extent Date: Sat, 16 Nov 2019 10:37:43 -0500 Message-Id: <20191116154113.7417-28-sashal@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191116154113.7417-1-sashal@kernel.org> References: <20191116154113.7417-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Liu Bo [ Upstream commit de2c6615dcddf2af868c5cbd1db2e9e73b4beb58 ] This fixes btrfs_get_extent to be consistent with our existing declaration style. Note: For the record, indentation styles that are accepted are both, aligning under the opening ( and tab or double tab indentation on the next line. Preferrably not spliting the type or long expressions in the argument lists. Signed-off-by: Liu Bo [ add note ] Signed-off-by: David Sterba Signed-off-by: Sasha Levin --- fs/btrfs/ctree.h | 4 ++-- fs/btrfs/inode.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index cc2d268e2cd7a..3a5a09e8e20e2 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h @@ -3183,8 +3183,8 @@ struct inode *btrfs_iget_path(struct super_block *s, struct btrfs_key *location, struct inode *btrfs_iget(struct super_block *s, struct btrfs_key *location, struct btrfs_root *root, int *was_new); struct extent_map *btrfs_get_extent(struct btrfs_inode *inode, - struct page *page, size_t pg_offset, - u64 start, u64 end, int create); + struct page *page, size_t pg_offset, + u64 start, u64 end, int create); int btrfs_update_inode(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct inode *inode); diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index f0f7bc5d2e4a0..62a7c6a88c3e8 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -6862,9 +6862,9 @@ static noinline int uncompress_inline(struct btrfs_path *path, * This also copies inline extents directly into the page. */ struct extent_map *btrfs_get_extent(struct btrfs_inode *inode, - struct page *page, - size_t pg_offset, u64 start, u64 len, - int create) + struct page *page, + size_t pg_offset, u64 start, u64 len, + int create) { struct btrfs_fs_info *fs_info = inode->root->fs_info; int ret; -- 2.20.1