Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2065478rwd; Fri, 9 Jun 2023 06:17:14 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6umIBsltuVrrg5qdMJ1+TWuRW0NmdgLOuS2+RZCgfh1qqRoluNpPHOYvZFaMrfW0oBO+uI X-Received: by 2002:a05:6a20:a218:b0:10f:8f7f:2c29 with SMTP id u24-20020a056a20a21800b0010f8f7f2c29mr780205pzk.13.1686316633760; Fri, 09 Jun 2023 06:17:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686316633; cv=none; d=google.com; s=arc-20160816; b=IhjtiOMMRiTsU6r+jil9MIcUv/WSjEjRc6ddca6zpe0eg3c0CBBabySnOjeG0YQa6z jl2OkGTSn+GQprGHy49BSicipyIzmlslr3qDu6kH9tPc0hRWGotxPjyowz665jIdyJpN SUkWL+SyM3f81LTWNs4/O8lZPAxoC1aqOpBLdwjV3zoarEw5lXLfUcw+B0f5mqHJ/ipt 61pwiVsMg5Rx9NDG59afa8psu+fQqp5dUzTd2sRZw9no2Xim49QDruROn381ZleNTDym bxDUGzZ/Tq8jxquZibLOvNCcH7DIPyhOtq/wX9UDd8KNnobs5TKvxpBa6LpdSbyB5apG 2eKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=d0FFKLdaDrpXRSPOp3UpyIXWkFGp/ifjWQbvEwdFwjQ=; b=PWvitbQ+SV4G5old4ATvkRAbeKfHk9kaIi/y9HWN/4d+mJZgseuirBOduyjyaSk7xH 5oY/pWDHaQ0x/hPg676vnYXj9/Q3G3t8DUuDFFcn2PAB8FCIJfvtclORa5lUrrIvBYHM tkBX1+PAOAihO6ZntSSJ62/FA83rwV5jZIdN1y5n6E+67KySKONxui6QoZCP059B2PIV Yry6gtZ6Lszq2f1ACNaBoYovDcWcTFDe/01kSBoZmmUjE51Sso8jTMZVGrEBGdlpRtfZ TJfnq9QFpPohOp0dVUH72DA+D/1ATryEyqU4OKlDnhksRuxuuE3vSDsOTc7dX43+lJ0R /5pQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=uE6bq2E5; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u5-20020a634705000000b00542d2508ac7si2490727pga.200.2023.06.09.06.16.57; Fri, 09 Jun 2023 06:17:13 -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=@linuxfoundation.org header.s=korg header.b=uE6bq2E5; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241079AbjFINLC (ORCPT + 99 others); Fri, 9 Jun 2023 09:11:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36056 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240568AbjFINKx (ORCPT ); Fri, 9 Jun 2023 09:10:53 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CAE4BBF; Fri, 9 Jun 2023 06:10:51 -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 69A1F6125E; Fri, 9 Jun 2023 13:10:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5BD84C433EF; Fri, 9 Jun 2023 13:10:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1686316250; bh=20eZk8bTN2/b1Z3qUyGe3nCyzXZWXRuVMW5ABvA38Mw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=uE6bq2E5O2sg28rWqjSlxmlOB4NMF5xAXptBceQzX69Dupew9yaCWvU3FCguEur8A +9NpupQoY7+wgD5fQs/q3fzwG4zdCv+Ez4rQxy/zB1FlNDwvGuaVF1/P8qTGmNz9ui aVOtYv8fJAKz6xJ0BKUIvbONldSV0Po6kvml4i54= Date: Fri, 9 Jun 2023 15:10:48 +0200 From: Greg Kroah-Hartman To: Jeff Layton 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 Subject: Re: [PATCH 0/9] fs: add some missing ctime updates Message-ID: <2023060931-magazine-nickname-f386@gregkh> References: <20230609125023.399942-1-jlayton@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230609125023.399942-1-jlayton@kernel.org> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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, 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. > > 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. > > 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. > > 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 > > 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(-) > > -- > 2.40.1 > All of these need commit log messages, didn't checkpatch warn you about that? thanks, greg k-h