Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp917238ybv; Sat, 22 Feb 2020 18:29:20 -0800 (PST) X-Google-Smtp-Source: APXvYqx9PxFHpL0QniGz5+54DXQjMVwl109OX1V/qXvJVD/QohN+Mg6f64+UBdC5AGk/LSWGnskJ X-Received: by 2002:a9d:f26:: with SMTP id 35mr33161784ott.31.1582424960525; Sat, 22 Feb 2020 18:29:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582424960; cv=none; d=google.com; s=arc-20160816; b=SsmV8Ezgz5edgYUocWvZV8bHzgHmuo1BJTA6mviSW8OjfWmBpreL0uPse5tDyxPqjV oJCLWyiH5vBBAjhBAcB+V8joutKOwTwJzp6f2EivFiDzAe0e7HJ/YGDLBs4GRqdOUj62 nfC9G8VKmiAW9NJGNtJBSE8tMfGMYk7sgB7w50RQXskePwgM/YpCFCAFkXeJUMDHnG/v u53e2yQtuqzo/xPJQYxTTDVR6WXGCv8145Ci4haSAUcK2DOsfcSmNBakfofysct3wmpi wQxGx/0lCrLWHzTYdKRqAGsFbpgv8O5QiIVIuF4GD/74XTFcZ69oTtRRCdkY4EsPdZ2M p0Pg== 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=dqfK9IxNwj7ckP+MpJmSceONpcVbgVpUow9PPlLP6iA=; b=vPXmZpHFreuDW2AksHFHoENyvGle3fptWVduOQpJ1qpPMftv/g8bCKdIsg9h5vesRq kcMy2Tv8CYTOMxJ5atdz8RR/cX84Tgn+ovHIMua2/XjvZC+rP1HcouF5GtMIOcx+wUGs XBjrGk9jlee2s8NbRx+NW7dcbHSmMP7j1tULR3XTm0MxZNVu4ySSvrupyhOedaophf// 6oq6LzXGamLskJ9GHf3Ck9Rx6fZjkgCVd3zFLXhxLQByUoHJ1Ixv1JgcvQE5cP0kBcOd st0C6WHPrHM4862D0dEB/M7W0kMGq8JBxamdl24cWoYF5RE1jH+PIGZ0xJZlzzTpgzC/ N8HA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=IIfqKj2Q; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y73si2743321oia.246.2020.02.22.18.29.08; Sat, 22 Feb 2020 18:29:20 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=@linux-foundation.org header.s=google header.b=IIfqKj2Q; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726965AbgBWCYY (ORCPT + 99 others); Sat, 22 Feb 2020 21:24:24 -0500 Received: from mail-lf1-f68.google.com ([209.85.167.68]:43236 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729138AbgBWCYT (ORCPT ); Sat, 22 Feb 2020 21:24:19 -0500 Received: by mail-lf1-f68.google.com with SMTP id s23so4294285lfs.10 for ; Sat, 22 Feb 2020 18:24:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=dqfK9IxNwj7ckP+MpJmSceONpcVbgVpUow9PPlLP6iA=; b=IIfqKj2QdGhRadPaahvLYJUZd7WA2qCg1z6Q8cD1LMlvinW50KHFPhR9fFz/XyCE/k aB8JOGB9Flmf8exB5hf8IBB2QSftwDTwA+9g9UU6QgopoPRzetdU1Xp1ZpE+Z3rg3FoT y7h9slhbD53JXZysr17OqV0jFNfxzoQdI+4g0= 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=dqfK9IxNwj7ckP+MpJmSceONpcVbgVpUow9PPlLP6iA=; b=Xq7rlLXyrAZ2+OEP3b3WGgM6ZXQ2lx6YMY6aPKXF40CxM8a45xJFr1nXo+zjjK/HMf KDyNPsk9t95mOfCrzxo/OzhClpEdZlJXXvd70gVRfBqC/SDHwZcpHZPzfpAcBr/fPKEC 1LDGLFkSZrmuANuYzYb7rrPZZdJyEfswCCHCn47r2Oj80aamIhKAk4LUskduhmiqSW1C +0yhKTZYQriUdSaNTkfLIKKUKjFTSzlYMAcnGGq6HkDQBg7KSD0J2gTfwgDvCxtUSx4S F0LZSTfYbUEZ3RmjuJ8s4yxpydMv6NJfkGgEtk5rg+7cU//5gdpyTw9X8kmzvUwnk86v rkfw== X-Gm-Message-State: APjAAAVi/qYoZENsYqomQtey355lxpDc5VcxS9Tm+MRWyN+zVjzIECEu QjsEcSAedPCgI5Aa0RZjZhE8qeQbdf8= X-Received: by 2002:a19:9155:: with SMTP id y21mr9788843lfj.28.1582424657502; Sat, 22 Feb 2020 18:24:17 -0800 (PST) Received: from mail-lj1-f181.google.com (mail-lj1-f181.google.com. [209.85.208.181]) by smtp.gmail.com with ESMTPSA id w29sm4697463ljd.99.2020.02.22.18.24.16 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 22 Feb 2020 18:24:16 -0800 (PST) Received: by mail-lj1-f181.google.com with SMTP id q8so6239899ljb.2 for ; Sat, 22 Feb 2020 18:24:16 -0800 (PST) X-Received: by 2002:a2e:580c:: with SMTP id m12mr26665961ljb.150.1582424656256; Sat, 22 Feb 2020 18:24:16 -0800 (PST) MIME-Version: 1.0 References: <20200223011154.GY23230@ZenIV.linux.org.uk> <20200223011626.4103706-1-viro@ZenIV.linux.org.uk> <20200223011626.4103706-23-viro@ZenIV.linux.org.uk> In-Reply-To: <20200223011626.4103706-23-viro@ZenIV.linux.org.uk> From: Linus Torvalds Date: Sat, 22 Feb 2020 18:24:00 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC][PATCH v2 23/34] merging pick_link() with get_link(), part 6 To: Al Viro Cc: linux-fsdevel , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Feb 22, 2020 at 5:23 PM Al Viro wrote: > > - err = pick_link(nd, &path, inode, seq); > - if (err > 0) > - return get_link(nd); > - else > - return ERR_PTR(err); > + return pick_link(nd, &path, inode, seq); Yay! It's like Christmas. Except honestly, I think I'd have been happier if the intermediate points didn't have that odd syntax in them. Even if it then gets removed in the end. Linus