Received: by 10.223.164.202 with SMTP id h10csp1348966wrb; Mon, 27 Nov 2017 01:16:29 -0800 (PST) X-Google-Smtp-Source: AGs4zMbF4T1f5Uiu+3gV7cpRYOW9qHU2dfbJF10HkHvkd//I8QJiXzEGfr3cDxTjMTSikg+CfcI5 X-Received: by 10.84.131.111 with SMTP id 102mr37753576pld.178.1511774188903; Mon, 27 Nov 2017 01:16:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511774188; cv=none; d=google.com; s=arc-20160816; b=Q4bmW1QqBzxslq8n1hmLMlL0/CQksuy4Oj7c+KsTNJb7Gklkjp6pvuROXu4Teul4bJ 2iSAhxraWmtAyHsAJ2GO26nRGd7COn6SkD9/OaSVhE5IEyVplPmQky4Nk4l5jCI3z2jn zPl4PD+iYcWwrIDv+5teVbCo9tdk4tz7Q/MN/reen2l3WP3abjuXpjxtxw7DxJffEQlU lT+WVz9cK5N0mhRgeFlQNb6HIHxIrQTsD/NrxUd+IT/65ICTFqI6ABWgjM1mTmyOw7la BLS78yovE8wCigneWfz1rkJFSVbxPxLEfxoI84NWpGnbX/dOfdvEDx5ASmyOXf/eYv+H 9M1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:arc-authentication-results; bh=9I0ZOj8TO9Nl8+H5+MQ3pGeKsPo3LxNdduS2CGjjXuY=; b=gfT0e7lqLLa2uxnMtIwURveM/mO03udEYThMnYgrMC8powoyB40Dhn2HJEtISYImVN 0q/aDpPzLTtZz2ogb4Yx1SApYadfwdg+GDXOVIxT/xaaYiYphUAARbeOdlVpenJs9Y/e kn++cCbf2YFHitcI0Cpli638ogorxFaef/OxmWpgllIOWseWxl8gnqryZR6cly9ABdai UnA74vh/i/IPFfuo7VpjRiQ0/8/L176mWT+G/BiHZoldF+WkD7UxVZncY/q48eZkTcyV Ieh2BtLdeh1x/qazOpFJKQ4/qUxNZpWmh6ZTND2/ysn5QSpZMAx8Da3pdRB7nppuMU0o Pq1w== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m2si2699587pll.139.2017.11.27.01.16.17; Mon, 27 Nov 2017 01:16:28 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751497AbdK0JPf (ORCPT + 78 others); Mon, 27 Nov 2017 04:15:35 -0500 Received: from szxga06-in.huawei.com ([45.249.212.32]:39472 "EHLO huawei.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751277AbdK0JPd (ORCPT ); Mon, 27 Nov 2017 04:15:33 -0500 Received: from DGGEMS409-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 77397A3189C85; Mon, 27 Nov 2017 17:15:19 +0800 (CST) Received: from huawei.com (10.175.124.28) by DGGEMS409-HUB.china.huawei.com (10.3.19.209) with Microsoft SMTP Server id 14.3.361.1; Mon, 27 Nov 2017 17:15:11 +0800 From: sunqiuyang To: , , CC: Subject: [PATCH 1/1] ext4: remove redundant assignment in ext4_iomap_begin() Date: Mon, 27 Nov 2017 17:21:27 +0800 Message-ID: <20171127092127.26193-1-sunqiuyang@huawei.com> X-Mailer: git-send-email 2.9.5 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.124.28] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Qiuyang Sun This line will not change the value of map.m_lblk in any case. Signed-off-by: Qiuyang Sun --- fs/ext4/inode.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c index 9f836e2..d4a42b1 100644 --- a/fs/ext4/inode.c +++ b/fs/ext4/inode.c @@ -3443,7 +3443,6 @@ static int ext4_iomap_begin(struct inode *inode, loff_t offset, loff_t length, if (es.es_lblk < map.m_lblk) offs = map.m_lblk - es.es_lblk; - map.m_lblk = es.es_lblk + offs; map.m_len = es.es_len - offs; delalloc = true; } -- 2.5.0 From 1585215370177694755@xxx Mon Nov 27 10:39:44 +0000 2017 X-GM-THRID: 1585215370177694755 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread