Received: by 2002:a05:7412:d008:b0:f9:6acb:47ec with SMTP id bd8csp345754rdb; Tue, 19 Dec 2023 20:45:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IHaksXytsJF3vosVJrIB/JC7lLl9jqow9hTebv9Jse6rZARtW8bKNSKSxgkwq8lBeVvGZ6N X-Received: by 2002:a05:6214:f0a:b0:67f:4617:8a19 with SMTP id gw10-20020a0562140f0a00b0067f46178a19mr5992597qvb.89.1703047502775; Tue, 19 Dec 2023 20:45:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703047502; cv=none; d=google.com; s=arc-20160816; b=kq64FHDHAKF98O8iMrhayPa5ZAFqTmPjIJPBun2Y7vfVLN1W5Tn4T31cV8mT4jCzCG dzRpcE8VgdKZhMpn/SsyyA8UVPOJfHENwVxMRe3mTn4mKRWSG6DeH+ilrB69vep5sPzh 06whT7Sn0yIob6Oh3TSyzyF20esRrG3xOesaCJr3bxYyBOgPKyEYE1W67fqwyO3C7SwW 6f54O/BmmX+mPrL7Qq7YX8z1QOhe7kJxGK6QqFkY0MCrLsynhSyN9fW1LffLC58NlHgA N4IkfxmxrMNHILM2TBEnzfLqW3ECFxu3MkZFOpHVS4sO1FYrMZMsTdbzFpN/R+7gW65W 82CQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date:dkim-signature; bh=hRpiRNthbi0FEEXfQIgCuS/Fo4kU6Hb7B5Oo8jMYEd8=; fh=Rgs2IwaKgt8hvAp9usgSlHLsmLkOELtruSLXzxczMrs=; b=RIIimLxrIZ1rik5qAunAytgz1qV+M0NWd/FT5VIHZfRA/pdMvKL0yvnJE0RI7sTGfg BiLELi9m2qKywBzmCmnPhCRdKxIPUp3aGRIGi5ABmxEgNsM38bvnoFHBR/tXd89bO4Mg SpAgttTQUwjgfxfA6Rp8jKSQD65O2P8CI+TS2DqOEUqOO2iJwaK/ZtlohgzMYmD6IwWr HESRmpMPr/+v+ohegQPGS87uSaHTo/zywI2iaVqmOp7wN5GZhYVO26P6GL6C8mEEKS40 d/7Y2j7KPaRzr5vtBHceYNrKekxh3A5BXFnP4YKuAohXlOGn5ASudVKF4fEEzPSPaUhV 7cgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.org.uk header.s=zeniv-20220401 header.b=ZO4boCkN; spf=pass (google.com: domain of linux-kernel+bounces-6374-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6374-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zeniv.linux.org.uk Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id j14-20020a0ce00e000000b0067f066b918esi425957qvk.491.2023.12.19.20.45.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 20:45:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-6374-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.org.uk header.s=zeniv-20220401 header.b=ZO4boCkN; spf=pass (google.com: domain of linux-kernel+bounces-6374-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6374-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zeniv.linux.org.uk Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 6E4FA1C244C3 for ; Wed, 20 Dec 2023 04:45:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F154BDDC6; Wed, 20 Dec 2023 04:44:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linux.org.uk header.i=@linux.org.uk header.b="ZO4boCkN" X-Original-To: linux-kernel@vger.kernel.org Received: from zeniv.linux.org.uk (zeniv.linux.org.uk [62.89.141.173]) (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 91313C2C5; Wed, 20 Dec 2023 04:44:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=zeniv.linux.org.uk Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=ftp.linux.org.uk DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=linux.org.uk; s=zeniv-20220401; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=hRpiRNthbi0FEEXfQIgCuS/Fo4kU6Hb7B5Oo8jMYEd8=; b=ZO4boCkNRdCaXqn7rNcAHkogad rBdVduQt32asqRfXQJJ4irUqKhbp+i0Z7ETf5BZeQgfr/2iORh2Yu91oKAxS36GNjkij26fVgj05g XbxyQxwJglRFe1kDfTtCWC8q44coP5kO+CvpHk3uHtlkrO+zlVvK2kkS5ZxlorpISEUr/zQ/cWoXI jnnn3b/s8aohCnl0ux/18uHnb8Q+bKtsNhNDdhYYXlhK11MOEbXhdEqSGmCJAXh4B9sBlTmdAzKyt nbXH5NRxLnxlOCpYYrg2AehW9yi6en+bWdy07IAAchT9q5IaxG6nlMNSte7g6aunF1rY8KXbFs9UZ VS1Se7DA==; Received: from viro by zeniv.linux.org.uk with local (Exim 4.96 #2 (Red Hat Linux)) id 1rFoRm-00HFte-1S; Wed, 20 Dec 2023 04:44:42 +0000 Date: Wed, 20 Dec 2023 04:44:42 +0000 From: Al Viro To: Stephen Rothwell Cc: Jaegeuk Kim , Chao Yu , Jan Kara , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: manual merge of the vfs tree with the f2fs tree Message-ID: <20231220044442.GX1674809@ZenIV> References: <20231220104734.0979a9f8@canb.auug.org.au> <20231220111325.5dd55e47@canb.auug.org.au> <20231220013402.GW1674809@ZenIV> <20231220140529.3979085c@canb.auug.org.au> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231220140529.3979085c@canb.auug.org.au> Sender: Al Viro On Wed, Dec 20, 2023 at 02:05:29PM +1100, Stephen Rothwell wrote: > Hi Al, > > On Wed, 20 Dec 2023 01:34:02 +0000 Al Viro wrote: > > > > My suggested resolution had been wrong, actually - the way it's written, > > link count drop should be conditional on old_is_dir, cross-directory or > > not. > > > > I think the right solution is > > if (old_dir_entry) > > f2fs_set_link(old_inode, old_dir_entry, old_dir_page, new_dir); > > if (old_is_dir) > > f2fs_i_links_write(old_dir, false); > > Ok, I will fix it up. Backmerge with conflict resolution added to #for-next...