Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751341AbdGQGLW (ORCPT ); Mon, 17 Jul 2017 02:11:22 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:19968 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751253AbdGQGLQ (ORCPT ); Mon, 17 Jul 2017 02:11:16 -0400 X-AuditID: b6c32a2c-f79e76d00000129c-a5-596c5502b4cf From: Maninder Singh To: tytso@mit.edu, adilger.kernel@dilger.ca Cc: linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org, pankaj.m@samsung.com, Maninder Singh , Vaneet Narang Subject: [PATCH 1/1] ext4: correcting copy paste error. Date: Mon, 17 Jul 2017 11:37:44 +0530 Message-Id: <1500271664-42794-1-git-send-email-maninder1.s@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrAKsWRmVeSWpSXmKPExsWy7bCmui5TaE6kQXOTrcXXLx0sFjPn3WGz uLxrDpvF4fltLBb33mxlsmjt+clucejkXEYHdo+WzeUeTWeOMnv0bVnF6PF5k1wAS1SqTUZq YkpqkUJqXnJ+SmZeuq2Sd3C8c7ypmYGhrqGlhbmSQl5ibqqtkotPgK5bZg7QAUoKZYk5pUCh gMTiYiV9O5ui/NKSVIWM/OISW6VoQ0MjPUMDcz0jIyM9E9NYKyNToJKE1Izbv3+xFTxlrWj/ cJ2tgfEESxcjJ4eEgInE8yMNTBC2mMSFe+vZuhi5OIQEljJKvH1/hhnC+cQo8evUcQSntXcF XPur6XegWnYySnS2P4Sq+sIo8eLmHmaQKjYBPYlVu/aAdYgIaEu8XHOJHaSIWWAZo8SnKx/B tgsLmEsc3zSXHcRmEVCV2D5lC1gzr4C7RMvyI1Dr5CROHpvMCtIsIfCXVWJf/x5GiISLxLbt bcwQtrDEq+Nb2CFsKYnP7/ayQTR0M0osO/2ECcKZwSix4t49qA57iQc3jgJ1cADdpCmxfp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skb R3HJNTFT8/UtD9ZPujPjkNP9Lyb3lb9+/6/10rLjtn1ZxdW7bJyd/19f+WSdbTht3oMFDMs/ 1HSyzs4v/l3c/b6vavehfk71KfGST+rWiuW//fzLXImlOCPRUIu5qDgRALofSSYhAgAA X-CMS-MailID: 20170717061114epcas5p3b984798b45e9b87ebd8b5586e3bdff9c X-Msg-Generator: CA X-Sender-IP: 182.195.40.14 X-Local-Sender: =?UTF-8?B?TWFuaW5kZXIgU2luZ2gbU1JJLURlbGhpLVBsYXRmb3JtIFMv?= =?UTF-8?B?VyAxIFRlYW0b7IK87ISx7KCE7J6QG0xlYWQgRW5naW5lZXI=?= X-Global-Sender: =?UTF-8?B?TWFuaW5kZXIgU2luZ2gbU1JJLURlbGhpLVBsYXRmb3JtIFMv?= =?UTF-8?B?VyAxIFRlYW0bU2Ftc3VuZ8KgRWxlY3Ryb25pY3PCoBtMZWFkIEVuZ2luZWVy?= X-Sender-Code: =?UTF-8?B?QzEwG1NXQUhRG0MxMElEMDJJRDAyODExNQ==?= Content-Type: text/plain; charset="utf-8" X-MTR: 20170717061114epcas5p3b984798b45e9b87ebd8b5586e3bdff9c CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20170717061114epcas5p3b984798b45e9b87ebd8b5586e3bdff9c X-RootMTR: 20170717061114epcas5p3b984798b45e9b87ebd8b5586e3bdff9c References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 715 Lines: 24 Error reported by static tool for copy paste issue, fixing the same. Signed-off-by: Maninder Singh Signed-off-by: Vaneet Narang --- fs/ext4/extents.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c index 2a97dff..5d337ca 100644 --- a/fs/ext4/extents.c +++ b/fs/ext4/extents.c @@ -5837,7 +5837,7 @@ int ext4_insert_range(struct inode *inode, loff_t offset, loff_t len) if (e1_blk > lblk1) next1 = e1_blk; if (e2_blk > lblk2) - next2 = e1_blk; + next2 = e2_blk; /* Do we have something to swap */ if (next1 == EXT_MAX_BLOCKS || next2 == EXT_MAX_BLOCKS) goto finish; -- 1.9.1