Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2100073rwd; Fri, 9 Jun 2023 06:44:36 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ48NANmDkWverX2wfEqZMifY8aLT8KrZ2Efy9M5h+xm0OZO75Mn4EOJ+R0i3ij9LYNQn4w4 X-Received: by 2002:a17:90a:245:b0:259:acbd:c6ef with SMTP id t5-20020a17090a024500b00259acbdc6efmr1054232pje.16.1686318275957; Fri, 09 Jun 2023 06:44:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686318275; cv=none; d=google.com; s=arc-20160816; b=kLIHdkcandjvQlAjM4pcqFTlx5YxGZV83fPRvUpzCFWkLWW2gSuLk3Hd9U9lNS1XYQ bKJuY+ktOSvCwYRN9ary9tXeNc3KGSPvhcljdA+mnguSjv1UINEw2dKFChnR5Q4zk6lv 04pATS+dV8tarkMjB7FfkAXKDOaSqjf8esNG0OKQiCsYOA32BzURWzlrUxdRQqy9YLay vi1E2xPpzdmayzwaCvqEonAJoigkVai/68NS3dOPMLjduE5FC0/sN+6b9TmJNq2npprY z3R/86QPPXPXzak+5FKZcHchbpxocuIZgPrhSTBPaOsMAXwxQi/h/vn+lCaQkXnQFCZP b62w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=an16WKg86bh1KZ2zQGFucfRvsgqclYfYotC4p2/OS6Y=; b=ZJqSh8nQRtImT4Th/STARJU+TceFyP2/dTP5fV3pMRHt1h6hyMuHoFJlVDOGm1JIrr eeuRvJffMN0GRUWBXFx4Unb5SL1aq8z2pxm8NN+yDaN8XFWnsCVYKTr8bunMHIEpHGZB OesTNephSh2zS/bPWtjtyzfTwvsE6wKXExhq22TZoaSfiMI4t0tM6TGtUNDo3HFAJ1VA 6WBYH6Z6PJf3p+dnrEWRzIrSfJlUzK65vhSdU/pjNrKhF/8Nk246DzhgEd5+n52E/SsD kviNIoHyf6F+IfFNY1MgZQu3Ft2o4ncISFZW1N15OH6SAuOlwiY2jsEbhk12YifS+ZCy rIlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ctTfeKac; 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 w15-20020a17090a15cf00b00258d8f6eabdsi4444468pjd.66.2023.06.09.06.44.21; Fri, 09 Jun 2023 06:44:35 -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=ctTfeKac; 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 S238814AbjFIN1n (ORCPT + 99 others); Fri, 9 Jun 2023 09:27:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230413AbjFIN1m (ORCPT ); Fri, 9 Jun 2023 09:27:42 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6876C270B; Fri, 9 Jun 2023 06:27:41 -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 0577A60E8D; Fri, 9 Jun 2023 13:27:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5A7BCC433EF; Fri, 9 Jun 2023 13:27:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686317260; bh=oSuiJiclTzvMA00+ishDDZSJ5F4CCgIPlxz3qberOkU=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=ctTfeKacHWo5l9K9DxzQOrtlTLoG85/EKA7MvHQ/F1/2q0zByBrbmyXzsM5xu9ZiB z9wHdsdfD4pFeRxFcqVecbJ+Otm388ULgG+bsoled+ga5itRm8LLiC22OcTX19F+j+ 6yIPcNN1B7m9Ur7wYkJS4IGiKr+2aBq5+dqDL6XT4Raq7b5xw0RxxqP1BRnkC/teoQ 1BBAFxOID86v/atOu3NX+L9wnqyt+99xF7OTaMcfAz05y5B3IH3bJDB665QOEe/kU6 AzdHw7nXRvFkJ5TMlrv7YVHd1aILHvSrpMhR/sNk7+XbKVcwqz4pHqjL+n9s6tGy8X 915cASV+pKXDw== Message-ID: <671ceeb2e019c11617a481739c2e17604456c48c.camel@kernel.org> Subject: Re: [PATCH 0/9] fs: add some missing ctime updates From: Jeff Layton To: Greg Kroah-Hartman Cc: Christian Brauner , Al Viro , Brad Warrum , Ritu Agarwal , Arnd Bergmann , 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 Date: Fri, 09 Jun 2023 09:27:36 -0400 In-Reply-To: <2023060931-magazine-nickname-f386@gregkh> References: <20230609125023.399942-1-jlayton@kernel.org> <2023060931-magazine-nickname-f386@gregkh> Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.3 (3.48.3-1.fc38) MIME-Version: 1.0 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 On Fri, 2023-06-09 at 15:10 +0200, Greg Kroah-Hartman wrote: > On Fri, Jun 09, 2023 at 08:50:14AM -0400, Jeff Layton wrote: > > While working on a patch series to change how we handle the ctime, I > > found a number of places that update the mtime without a corresponding > > ctime update. POSIX requires that when the mtime is updated that the > > ctime also be updated. > >=20 > > Note that these are largely untested other than for compilation, so > > please review carefully. These are a preliminary set for the upcoming > > rework of how we handle the ctime. > >=20 > > None of these seem to be very crucial, but it would be nice if > > various maintainers could pick these up for v6.5. Please let me know if > > you do. > >=20 > > Jeff Layton (9): > > ibmvmc: update ctime in conjunction with mtime on write > > usb: update the ctime as well when updating mtime after an ioctl > > autofs: set ctime as well when mtime changes on a dir > > bfs: update ctime in addition to mtime when adding entries > > efivarfs: update ctime when mtime changes on a write > > exfat: ensure that ctime is updated whenever the mtime is > > gfs2: update ctime when quota is updated > > apparmor: update ctime whenever the mtime changes on an inode > > cifs: update the ctime on a partial page write > >=20 > > drivers/misc/ibmvmc.c | 2 +- > > drivers/usb/core/devio.c | 16 ++++++++-------- > > fs/autofs/root.c | 6 +++--- > > fs/bfs/dir.c | 2 +- > > fs/efivarfs/file.c | 2 +- > > fs/exfat/namei.c | 8 ++++---- > > fs/gfs2/quota.c | 2 +- > > fs/smb/client/file.c | 2 +- > > security/apparmor/apparmorfs.c | 7 +++++-- > > security/apparmor/policy_unpack.c | 11 +++++++---- > > 10 files changed, 32 insertions(+), 26 deletions(-) > >=20 > > --=20 > > 2.40.1 > >=20 >=20 > All of these need commit log messages, didn't checkpatch warn you about > that? It did, once I ran it. ;) I'll repost the set with more elaborate changelogs. --=20 Jeff Layton