Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2131918iof; Tue, 7 Jun 2022 20:48:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx/we7bppGoHBqsoeGzIcJlC37j6JYMjp5SO0BiwPM4zjAqPBfpE/vz2iXaZVFJCt9VAyRD X-Received: by 2002:a05:6a00:1688:b0:517:cf7b:9293 with SMTP id k8-20020a056a00168800b00517cf7b9293mr100604491pfc.7.1654660117646; Tue, 07 Jun 2022 20:48:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654660117; cv=none; d=google.com; s=arc-20160816; b=NZViQn+neU278BDVTfnREk2V0cSfiMjgsGqsWW09dPXPW6/woxmSENQ3AT5VhtHFSt 335N4JvpJfUKWs4AJbIhzfgTL+GnYRwXj5twtDwMlPHJEPaaCg/RGTqLQdLz0jrxXmI8 zXWq9fivWwfZN3w+Clf0s4Uc5/hEV877NaNo0hnmfUSoPZqIMsyyn4KmgBrCg/v7RgZ4 YEIHwHBsxV1kOSjJy/Gl+KU6jdeikpZDQXNu5Y7lm8MD2NXLMXuj5kUhGN4Z8zP6abRV JTP3YeXe3NACO+TYHmeQfvzVMc0azK0DS7bmRUth0NGrS3UkkSCb6pnHinYE3KG2i41d F83w== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=pfKY1+RpB3O3jbFHNFYSnm+sYFJEY0mmueXWXaMgotY=; b=u8kH0uyAdBFMx/Tp+eFM/aoRIyRsumMm2uYyCfntauKF+EiUufizNeynGX4PY+v4Xc nhv3NKlA5geiiwnfa5adlx1KZv+n/fxj1aqVE518reNcSOrzKHYb792CDSlJOUILYwJf 0/aRmy9EPz0hPaw5w/8kGRI/Bwk9CM1DUwr6qcaMr//6h1HV1chQe3M+Wd2YmPxIk81U 8Cv8P61/1pHUWNHc1f/lPBMrQCzYrz27Bb0ic4JBqojcc77S1daBAufIIrRU5zxk0raR iQfApgPI8epo3XReBEAnO0lhPgCI+nPmMSeOFzAH+2sUrs42CowCe7DAkqiw4CS86/Q+ t52g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=B8gAGp9v; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id k190-20020a6384c7000000b003fcc0510870si25343194pgd.388.2022.06.07.20.48.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 20:48:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=B8gAGp9v; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4402632E756; Tue, 7 Jun 2022 20:07:11 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1382542AbiFGWEf (ORCPT + 99 others); Tue, 7 Jun 2022 18:04:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50204 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378863AbiFGVDj (ORCPT ); Tue, 7 Jun 2022 17:03:39 -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 18E6F18A879; Tue, 7 Jun 2022 11:48:42 -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 199296156D; Tue, 7 Jun 2022 18:48:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 26177C385A2; Tue, 7 Jun 2022 18:48:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1654627721; bh=24/+sW6Sob7YMv6wVRkObr+QQ67G3CdFjp9sCUgysVY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=B8gAGp9vy41VWHqzJZLHlRr2Pqdq2Iy9ioDIXun/6+4PEJQsmueBm75gFttbqt5Yg tNMg2N6AKdVlJWcNOyP1UC6HpXdHJY6SNnn4C6bXsWONS/4lI/uQ3fxIiQMVxLybo+ cF0rodDs4sCczl5tqsCJHVL+TNZz5rl44J5Sqt+8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Konstantin Komarov Subject: [PATCH 5.18 028/879] fs/ntfs3: Update i_ctime when xattr is added Date: Tue, 7 Jun 2022 18:52:26 +0200 Message-Id: <20220607165003.492806765@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220607165002.659942637@linuxfoundation.org> References: <20220607165002.659942637@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 From: Konstantin Komarov commit 2d44667c306e7806848a3478820f87343feb5421 upstream. Ctime wasn't updated after setfacl command. This commit fixes xfstest generic/307 Fixes: be71b5cba2e6 ("fs/ntfs3: Add attrib operations") Signed-off-by: Konstantin Komarov Signed-off-by: Greg Kroah-Hartman --- fs/ntfs3/xattr.c | 3 +++ 1 file changed, 3 insertions(+) --- a/fs/ntfs3/xattr.c +++ b/fs/ntfs3/xattr.c @@ -902,6 +902,9 @@ set_new_fa: err = ntfs_set_ea(inode, name, name_len, value, size, flags); out: + inode->i_ctime = current_time(inode); + mark_inode_dirty(inode); + return err; }