Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2054545rwd; Fri, 9 Jun 2023 06:09:37 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5F/z+jYzqusW9IrRUOMDuIjsRRWIzN93QOmI/Df99GbD/eLIvbgdAPY0iPqBAlWGh1H90l X-Received: by 2002:a17:90a:f007:b0:258:de25:5e2f with SMTP id bt7-20020a17090af00700b00258de255e2fmr884242pjb.38.1686316177536; Fri, 09 Jun 2023 06:09:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686316177; cv=none; d=google.com; s=arc-20160816; b=egBd8wewyI3Y52Xphpa9z0RNOyLAzbno2XREv9S5jv7ArrYUwsMFsuQGDLx3jl/t9h IBfFt4LjTILu4UK0FZxyk7Al+Yr9eL3ct3tBlJ0rnkHUojiFVgfaZYjZdsbm9vZXxbIs z6am8I1WYc3PshSmIKQ4df2zZSBT4yaMe59OY1ZTTOIsfCMzMxc32foso3T+Q3B29dkv 8XA4TlgHolI0EIguWOfRpxwuwl12z8X4ZUVfFqkf/sQ8rPgsNqX/kvNsU6MYtawbvJcJ +NSF0O4vU64ns1hImBXdxQeAk0snMv3XdJhfyv31ErtptCFU6lL+H+5n3Iu9ypB0o+gt pptA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=ZvT+jhQ1AYN+785LKYOU1EP/q8MXKOLENdrAPk3m+jM=; b=OCmfFLWhCmpwFQkjU/hHOm0W2jrTalU80L3UPE+H7XAJQGsR9itdqf3BPR/quwGwCq pltV00N1jTS53p4O0bBWM/IJhiBqbw4SklpQxuH05paZXbt7Ot7p6/XABNuofNimTQCk VH5G6irMfGO/hrkScBmhi3jtYexhuOK+0Q0DEmsRr0KDid/jFqSEPkNBsVfByyqGX6Ag HSiWjHRnfqaRtIymvjvlZh8UUHRox9fdWKJPfYwHxUwuCxe4RDhDbgK+bRcMrAyAycza LMxHd9VKZRQJUPHL1bvDvd/x/WWpmQHcU68XC56F1yz2DANtGPw6W0J6TQAJ920Vuo7R qxvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OPjGeiMh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id on14-20020a17090b1d0e00b0024bf50a83e7si4406376pjb.174.2023.06.09.06.09.22; Fri, 09 Jun 2023 06:09:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OPjGeiMh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S240929AbjFIMv1 (ORCPT + 99 others); Fri, 9 Jun 2023 08:51:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240196AbjFIMux (ORCPT ); Fri, 9 Jun 2023 08:50:53 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4CAFE210A; Fri, 9 Jun 2023 05:50:52 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id DDFE3657D4; Fri, 9 Jun 2023 12:50:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 42A75C433A1; Fri, 9 Jun 2023 12:50:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686315051; bh=cBVsyVfj6l6TtKR74yV1q9ouP+rbYNbmg05dYGBxQN8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=OPjGeiMhYDQoZwI7Ze3bfAqmmmVAPj3CpAIoXuPGdjrMrVrfc5DSkRVYD2wyAl/kK Ixwqi2npxrUzFq5SxF94ZwcGV0ltTD+QLRx3Knz1x7TOy182BSKG1rEeqJfGjVAOy9 wi48nNRw4FNWyZvwtM+VX2NP85msXAc+rFJucTMQwJwBn/A83lVR3TJjobh2YLN3Qr qd4Wsy/9jJMaXkQAIMtXnmK+aMxIrtCwbwbye0cQg5iEWq3x2EDolvlSo31O2BjkYE FuttZiEldqMhsdNp6l39ZK+otEmEiQwn2ej+2FBTOtxAqfhG86FJUtqyPFNSQgYOqF EcqwaNGGKnJbg== From: Jeff Layton To: Christian Brauner , Al Viro , Brad Warrum , Ritu Agarwal , Arnd Bergmann , Greg Kroah-Hartman , Ian Kent , "Tigran A. Aivazian" , Jeremy Kerr , Ard Biesheuvel , Namjae Jeon , Sungjong Seo , Bob Peterson , Andreas Gruenbacher , Steve French , Paulo Alcantara , Ronnie Sahlberg , Shyam Prasad N , Tom Talpey , John Johansen , Paul Moore , James Morris , "Serge E. Hallyn" , Ruihan Li , Suren Baghdasaryan , Sebastian Reichel , Wolfram Sang , linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, autofs@vger.kernel.org, linux-efi@vger.kernel.org, linux-fsdevel@vger.kernel.org, cluster-devel@redhat.com, linux-cifs@vger.kernel.org, samba-technical@lists.samba.org, apparmor@lists.ubuntu.com, linux-security-module@vger.kernel.org Subject: [PATCH 7/9] gfs2: update ctime when quota is updated Date: Fri, 9 Jun 2023 08:50:21 -0400 Message-Id: <20230609125023.399942-8-jlayton@kernel.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230609125023.399942-1-jlayton@kernel.org> References: <20230609125023.399942-1-jlayton@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Jeff Layton --- fs/gfs2/quota.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/gfs2/quota.c b/fs/gfs2/quota.c index 1ed17226d9ed..6d283e071b90 100644 --- a/fs/gfs2/quota.c +++ b/fs/gfs2/quota.c @@ -869,7 +869,7 @@ static int gfs2_adjust_quota(struct gfs2_inode *ip, loff_t loc, size = loc + sizeof(struct gfs2_quota); if (size > inode->i_size) i_size_write(inode, size); - inode->i_mtime = inode->i_atime = current_time(inode); + inode->i_mtime = inode->i_atime = inode->i_ctime = current_time(inode); mark_inode_dirty(inode); set_bit(QDF_REFRESH, &qd->qd_flags); } -- 2.40.1