Message ID | 174553065141.1160461.7342685341356901806.stgit@frogsfrogsfrogs |
---|---|
State | New |
Headers | show
Return-Path: <SRS0=iOwk=XK=vger.kernel.org=linux-ext4+bounces-7479-patchwork-incoming=ozlabs.org@ozlabs.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=nn8f/wqd; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=ozlabs.org (client-ip=150.107.74.76; helo=mail.ozlabs.org; envelope-from=srs0=iowk=xk=vger.kernel.org=linux-ext4+bounces-7479-patchwork-incoming=ozlabs.org@ozlabs.org; receiver=patchwork.ozlabs.org) Received: from mail.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Zk8cQ19Gxz1yN2 for <incoming@patchwork.ozlabs.org>; Fri, 25 Apr 2025 07:43:50 +1000 (AEST) Received: from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by gandalf.ozlabs.org (Postfix) with ESMTP id 4Zk8cl4c20z4xD3 for <incoming@patchwork.ozlabs.org>; Fri, 25 Apr 2025 07:44:07 +1000 (AEST) Received: by gandalf.ozlabs.org (Postfix) id 4Zk8cl4Z0zz4xM7; Fri, 25 Apr 2025 07:44:07 +1000 (AEST) Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: gandalf.ozlabs.org; arc=pass smtp.remote-ip="2604:1380:45d1:ec00::1" arc.chain=subspace.kernel.org ARC-Seal: i=2; a=rsa-sha256; d=ozlabs.org; s=201707; t=1745531047; cv=pass; b=NL1ndPI0mR6BykHfbpAfV3KWiOPc8iWS86ULdT23e8R+PICwRmhCRDm99vBmgAES2QRgZVNqiZQNtHIPJf+2s6wF8DtbEXf8wYuZlaSL3yyYqVfA0BPJb4omzT3N7VuHDUEhETvbOTZiNOwKCdVUXRqj+fyfs4cHn/R9gdEIc5ycF52KnG2WRZ1QRbb81QQGyaNGXUZ6WCcERn6ek+x2yWa8oB7CStcYFkt1qLFmz4c3QpKkIAuRwE8Go9+ytBVh/S++1tsHiS47wMQk3I0Ezt671LXQio3/njE8SH6VBqLVTtXBCRG2qPlToNxEKIcj0BDPYMutQNei2ZPee/B8pQ== ARC-Message-Signature: i=2; a=rsa-sha256; d=ozlabs.org; s=201707; t=1745531047; c=relaxed/relaxed; bh=/iTgLb3y/pPcJZ2t/lrn0/qFgr0U6VWIu8fNS0pZanc=; h=Date:Subject:From:To:Cc:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=ehQACqKo3GDWY7jR/o7wqJH/bI6GCaJfEnGMA2f/YrbUpE4PzUYVjr3/iAKQgyNpEHaJ46hwwl8xebn4oWvPoDZQ5YBzX7PI/jU1MpXQdYNGc3kueGsy8UtTAodbeP1YtbW1HsLFStiADFqKA1qD7wYwvdJth++ohgNuWGdswYwz2xTq495Jg8iNhDfvIBYTMhhjvt8Lja8DsaSHxiB/RNblkb/yi9zIw//uPveNkOEh7uQDZH+h9o/SyKUvRhZZlIcCsUwSN8xVhYPHUAS1lnLbySbA+cWimu2I0hFEjj56QwttX02JRkKhe783JYsblTP/je4/XYPyP07rTR6bvw== ARC-Authentication-Results: i=2; gandalf.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=kernel.org; spf=pass smtp.mailfrom=vger.kernel.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=nn8f/wqd; dkim-atps=neutral Authentication-Results: gandalf.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=kernel.org Authentication-Results: gandalf.ozlabs.org; spf=pass smtp.mailfrom=vger.kernel.org Authentication-Results: gandalf.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=nn8f/wqd; dkim-atps=neutral Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org [IPv6:2604:1380:45d1:ec00::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by gandalf.ozlabs.org (Postfix) with ESMTPS id 4Zk8ch2Y2Fz4xD3 for <patchwork-incoming@ozlabs.org>; Fri, 25 Apr 2025 07:44:04 +1000 (AEST) Received: from smtp.subspace.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 4C33516D8EA for <patchwork-incoming@ozlabs.org>; Thu, 24 Apr 2025 21:44:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7BC1621D3E3; Thu, 24 Apr 2025 21:43:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="nn8f/wqd" X-Original-To: linux-ext4@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3CC94198851 for <linux-ext4@vger.kernel.org>; Thu, 24 Apr 2025 21:43:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745531035; cv=none; b=DBIFWHJNuSUOANr3XGKNtlTFYo5aQrnJgo2AFo9cCuY+zN8gPRPQph4nwygrhIfjRuWV4HfufUnF2njlER2398+rEOB1aY14C+d72KP87M6T3+nbKFrqd+IiaeXqCXiULM+orz4ZMYoGsbfTbW9oWbbFKsz6Lx9J1PJbiBEFwX4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745531035; c=relaxed/simple; bh=11Xa9EFYuEtyWzGR6r+2kUDLydjV6VpSoQ21b28o+78=; h=Date:Subject:From:To:Cc:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=PiOw8Q7+vBjqI0PZ5gV1IwGeGkTQ8MI1X4nJ28pRSz+MJ9JsJ6ll/S083Dmi3wUp0rj3M8wn/X0Fb4s0sEa3XL0anMpBRifUe+Rt5Xm435e8IM4kHAzN9f0jsRf6uU3dCz7+v1hZNNE07t5bvNd/edPIchaIhwY8MBlnZqrBOY8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=nn8f/wqd; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 11C66C4CEE3; Thu, 24 Apr 2025 21:43:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1745531035; bh=11Xa9EFYuEtyWzGR6r+2kUDLydjV6VpSoQ21b28o+78=; h=Date:Subject:From:To:Cc:In-Reply-To:References:From; b=nn8f/wqd8aOoqaheR+bEVCNsA0tKJRfMB3N9VS/Ktv+B9T+R36lfALXphWPWbERws +8AnDGEo7CiENPdXjI1GDRHYZuVpodrGyiom+dDRNTJsHfKW84DKEL79ASCo5Z7ILB martsGsWWCiFZENYsFCZwecRXa70W2K8WLx7VPvkpp4T2oYFHE9cSw1ywFwf3HMUFe qmheuimmM2LrUZPQt9djWCZgYw83Vc+1jZfMPgJYGFNOcPdZw6PGNZXpVQxSncMlIy rXyUhrCytDi7Q+ljPCb0lZZ26PNVzK61URSeEx9svLpoV5e5S0Q7LfqCfJZnhdsKhx Ar/n83bY/4b8Q== Date: Thu, 24 Apr 2025 14:43:54 -0700 Subject: [PATCH 12/16] fuse2fs: update new child timestamps during mkdir/symlink From: "Darrick J. Wong" <djwong@kernel.org> To: tytso@mit.edu Cc: linux-ext4@vger.kernel.org Message-ID: <174553065141.1160461.7342685341356901806.stgit@frogsfrogsfrogs> In-Reply-To: <174553064857.1160461.865616278603382583.stgit@frogsfrogsfrogs> References: <174553064857.1160461.865616278603382583.stgit@frogsfrogsfrogs> Precedence: bulk X-Mailing-List: linux-ext4@vger.kernel.org List-Id: <linux-ext4.vger.kernel.org> List-Subscribe: <mailto:linux-ext4+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-ext4+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=ARC_SIGNED,ARC_VALID, DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DMARC_PASS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=disabled version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on gandalf.ozlabs.org |
Series |
[01/16] fuse2fs: refuse unsupported features
|
expand
|
diff --git a/misc/fuse2fs.c b/misc/fuse2fs.c index 2220da4c3e8f64..a13564a30575da 100644 --- a/misc/fuse2fs.c +++ b/misc/fuse2fs.c @@ -1016,6 +1016,7 @@ static int op_mkdir(const char *path, mode_t mode) inode.i_mode = LINUX_S_IFDIR | (mode & ~S_ISUID) | parent_sgid; inode.i_generation = ff->next_generation++; + init_times(&inode); err = ext2fs_write_inode_full(fs, child, (struct ext2_inode *)&inode, sizeof(inode)); @@ -1390,6 +1391,7 @@ static int op_symlink(const char *src, const char *dest) inode.i_gid = ctxt->gid; ext2fs_set_i_gid_high(inode, ctxt->gid >> 16); inode.i_generation = ff->next_generation++; + init_times(&inode); err = ext2fs_write_inode_full(fs, child, (struct ext2_inode *)&inode, sizeof(inode));