Received: by 10.223.176.5 with SMTP id f5csp977806wra; Fri, 2 Feb 2018 09:09:23 -0800 (PST) X-Google-Smtp-Source: AH8x225AJ0nWZdd5KApuNG4vOzMmUd79Z6O9LcBV2TfciDRHUu0M2pcd2K1yUpYCoUCvXvos2Rwm X-Received: by 2002:a17:902:7c98:: with SMTP id y24-v6mr3230178pll.305.1517591363581; Fri, 02 Feb 2018 09:09:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517591363; cv=none; d=google.com; s=arc-20160816; b=NbTHg/kBty1DsQfSxCnUZfHuE5nKNXBIf9UIt0jB0GcjYjSDHIC+Cl2cx7WQL2/f71 4EJqW1AkfafY69n77CefVp2Vzx3hI+CSWI4yfeYnbbx9Bu0mUUD1pF/BkZlKbI03fLUD hk7JOxSvnMJT+hamMXWpPLY6UAOSqSAZU3nhYZlJ05iI4XlmOZj5by7bZAYr0vrDfhFe nZh69vRlCxCmHs5UUF3jzjAMevG4Rok+VYwCF9vQFfgnVnkrYsx0bdYlsJ2xRYa1+qF0 k/DJYJbk3hel+aDIOYMG/32mlAwrpliZL//P/Kiat4OTwO0B0Ue6N72CGu999jGGtU5o W+xA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=giRwEXdeBxI5l4pKCN81C+ox+9BHKXlkUSsfpwvYI3k=; b=VLjfpGlGoE7iIh52P4uaGwXvqQQ2UiLCXABIXWwoJ8MmDAKfIbS1kT0CNm1KilhfvB R+2VX/gmLB/QMmdRpseFHh8HMeVJGcF5XfQrOEmWRQpT9GmGMT3Fh28PpoxR0MEfng3p VejDr14TayH2Ecr05xf2idONWtoMvyrIX9xauS+WgNIp9iOAI/aj6GbWY8sWVTK8Qkh1 uzwpd2so9PLmZPEzRhFxnpZF0vzTjp35Kxr54g5VoLctSvlQ0EPQPIdy1I7K1AIsJ67K XmzWx76cM3lGjFI1NNL2S3ho3XvoGRqqGFlXpVdFD1TBG1SwsBMgL190PFRdi76wtmyX ZD3Q== 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 w2si1695775pgp.680.2018.02.02.09.09.09; Fri, 02 Feb 2018 09:09:23 -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 S1753150AbeBBRH0 (ORCPT + 99 others); Fri, 2 Feb 2018 12:07:26 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:36132 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752853AbeBBREN (ORCPT ); Fri, 2 Feb 2018 12:04:13 -0500 Received: from localhost (LFbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 283BC8E2; Fri, 2 Feb 2018 17:04:12 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Jeff Layton , Jan Kara , Sasha Levin Subject: [PATCH 4.9 35/86] reiserfs: remove unneeded i_version bump Date: Fri, 2 Feb 2018 17:57:55 +0100 Message-Id: <20180202140825.761953399@linuxfoundation.org> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180202140822.679101338@linuxfoundation.org> References: <20180202140822.679101338@linuxfoundation.org> User-Agent: quilt/0.65 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.9-stable review patch. If anyone has any objections, please let me know. ------------------ From: Jeff Layton [ Upstream commit 9f97df50c52c2887432debb6238f4e43567386a5 ] The i_version field in reiserfs is not initialized and is only ever updated here. Nothing ever views it, so just remove it. Signed-off-by: Jeff Layton Signed-off-by: Jan Kara Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- fs/reiserfs/super.c | 1 - 1 file changed, 1 deletion(-) --- a/fs/reiserfs/super.c +++ b/fs/reiserfs/super.c @@ -2521,7 +2521,6 @@ out: return err; if (inode->i_size < off + len - towrite) i_size_write(inode, off + len - towrite); - inode->i_version++; inode->i_mtime = inode->i_ctime = current_time(inode); mark_inode_dirty(inode); return len - towrite;