Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp8838636ybl; Fri, 17 Jan 2020 01:58:05 -0800 (PST) X-Google-Smtp-Source: APXvYqwtaeqWmS/bHci0crjC80OQtRqF70NdBdax7zecJsofdfzikWxPT7W7aKYdpOGKMvRBsXIo X-Received: by 2002:a9d:7553:: with SMTP id b19mr5709237otl.79.1579255084923; Fri, 17 Jan 2020 01:58:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579255084; cv=none; d=google.com; s=arc-20160816; b=clfKANclEfCyvmo8198MSkn/FoKDuJL2EUFjTXmqsDeJq/NXdyJZ9rzkYFWDCMjZIC XjF5vhoccYHSqPxvV3nAwqd9vqd7BjTXZ2dXuWSDmrzc4oAkI3/wT6xSnG3Q9q2KRfvX pkd3wq86AY3cKPoTymbS/Rulp5+aQc4HsehDc+F31HrxAy0kc8vZk91MhmHdXT1eA5/O W4Q4hnydEClFPjkAgy9XMklS0FYsj808fykWnCRgcoUkBJdxFRXrHtMv1JrtEdE6zjmr i+k21ghX3mMssRzYPzSOS31vy7ULkdK/oN3GbMU/8HAuxuBU7VpQ3WRp4CJrIie6XPkz YjyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=D2iv/H6UUaNNB2wpyKUhzLnF/ZjtEziCyO0ynW904oU=; b=gtXQHA7B2w4n17I90avj4Ef4jQKP62YIQ4FJALV1Tnv7c76h1htbXLBpaXIbOekt17 Ez7JlKFPQSeyH91s9NE/LxNJhA+mcpC14XY9IDc+8gcTj2VVyZWoJ4ulwX4CyKSrY6// niy9ENK0FUcJmZGe38KmI1e2lmv1bEWqrHAO2ap9MMrUwMVwH2j9VrfL1pgXqGzfOLo0 8JWorkw4iPdx6gUnyh/SYJqNt4pB4hU6hKmRpRzRSVnrIthq1N4zTD+qGy6aOjnF2Lpw gfM/DWdh305vTejfM41JWXpt+YytAp1XwBF6G4b5tow6ncVrlA55zysjHNUxRgYoC8HT 1ORw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lEKhV452; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r14si12046554oic.12.2020.01.17.01.57.47; Fri, 17 Jan 2020 01:58:04 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lEKhV452; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726923AbgAQJ5g (ORCPT + 99 others); Fri, 17 Jan 2020 04:57:36 -0500 Received: from mail-il1-f196.google.com ([209.85.166.196]:44934 "EHLO mail-il1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726053AbgAQJ5g (ORCPT ); Fri, 17 Jan 2020 04:57:36 -0500 Received: by mail-il1-f196.google.com with SMTP id z12so20794122iln.11; Fri, 17 Jan 2020 01:57:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=D2iv/H6UUaNNB2wpyKUhzLnF/ZjtEziCyO0ynW904oU=; b=lEKhV452mvESziCXpI+s4sMxPGiIoDNhNNtdO1u5G1u6Icw8sIy3JYP9kJPMF8+jiB 2We/A/aGTdin03iiVhMN7lDtBO+NJ66fmGPFykAKxZVW8Q1+hvCr6cDYOgvFlnhPUs/Z iTb22gF9mqbLaS4r80j0brQL6frUI3onep4R5St9MDwHrpzmJv9MDisyS46ql7Yi+mSt NzhtirvbOj0her2XJeuglRWTIwSmFFXME+3qFOHTXkTpnIctje4BMv2fMnMN7ytwffjJ qQ4uhKJO7ub6f5ip0ui1vulLZtZvYMXFn+oY7t4+5ROwDYswfD5Q/EmY3dxcPH4oeqzi M+Ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=D2iv/H6UUaNNB2wpyKUhzLnF/ZjtEziCyO0ynW904oU=; b=eRJB5CsxPHvxnDJBplevyE6+JQEkFzR8k+hmJotbs7DbVhUREvrVSr/VBUD4JQhQkv V3r2cxQC1ZWo9foMEM/CiWJgbIzzAI6x9JwMxU+vaEV9ZkXa+fO5Ka2rNtd9u60Koq5L DdXmLwWGGyuYcXSGh9wBXezZnon3Vo8GKeioD4GMLI8LUBZ4RLRZzajzPP+sNvr39paH Ev7gc5pZdk62rAa0gV++Bn6CfW/k6J/LsC+NwAtSF007jO5i71bIcgn76BuFg7R6ImLF I7xaUpL9U4XU0OF8/3GvcK9UFGx9u7vGWdi4rwmj2/LIwtfecwQXjzF5THS48FUt7Dx5 82Aw== X-Gm-Message-State: APjAAAXjkZlLafjE1zfsDU0hbht1oKb0RLs70prxeSpyEJowPPIX3/0F 5F72ecVQ9RQtPLaP4eauq5ycSg3FOqb+Vrypio2xUA== X-Received: by 2002:a92:d5c3:: with SMTP id d3mr2295902ilq.250.1579255055251; Fri, 17 Jan 2020 01:57:35 -0800 (PST) MIME-Version: 1.0 References: <20200114170250.GA8904@ZenIV.linux.org.uk> <3326.1579019665@warthog.procyon.org.uk> <9351.1579025170@warthog.procyon.org.uk> <2397bb4a-2ca2-4b44-8c79-64efba9aa04d@www.fastmail.com> In-Reply-To: <2397bb4a-2ca2-4b44-8c79-64efba9aa04d@www.fastmail.com> From: Amir Goldstein Date: Fri, 17 Jan 2020 11:57:24 +0200 Message-ID: Subject: Re: Making linkat() able to overwrite the target To: Colin Walters , David Howells Cc: Al Viro , linux-fsdevel , Christoph Hellwig , "Theodore Ts'o" , Andreas Dilger , "Darrick J. Wong" , Chris Mason , Josef Bacik , David Sterba , linux-ext4 , xfs , Linux Btrfs , linux-kernel Content-Type: text/plain; charset="UTF-8" Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Fri, Jan 17, 2020 at 5:52 AM Colin Walters wrote: > > On Tue, Jan 14, 2020, at 1:06 PM, David Howells wrote: > > > Yes, I suggested AT_LINK_REPLACE as said magical flag. > > This came up before right? > > https://lore.kernel.org/linux-fsdevel/cover.1524549513.git.osandov@fb.com/ David, This sounds like a good topic to be discussed at LSF/MM (hint hint) Thanks, Amir.