Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp1254469pxy; Sat, 1 May 2021 08:07:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwFAw46PbZw6YEGpoTH7fP1q0EVb6ah7f/vIZhnBGvT4dlMrC3RJ/k8YPR5oks1kS3lPI/e X-Received: by 2002:a17:906:6703:: with SMTP id a3mr9203762ejp.240.1619881646443; Sat, 01 May 2021 08:07:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619881646; cv=none; d=google.com; s=arc-20160816; b=daTM17WEKTbJBKYwkQESnkAYrnUUm4fHeZkltIOtAsBwwAD5cIhNVECgxcHq1V8w7A /hb2fo7DAzGoeqnfaDDlZg+StlajaQPkwMfVoI0aSJo7EKVxxL0OBhhPfivmUcdtgjdR GnWl1o4uuE3zA28q0bMLJxsMju/+vTyiedRkUf1QISLR4uiZ9zekPLL0Nv9cklNQxFOI Hoa94WFWn12ETy/bjXeYLbprOR6S2zqKjikisowBBM/gaXCNIOWriqRQATBtPAhsG93G 0t2DaYoX7+vOMUCcuSQS6MfPn6NA7bhN+w79KWBMMZ+6azahRYLQf3zksR3erMrMuyNS DtYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=itk308xolWb0TLt+lcTt/sNiGEmO6nGlr+yjY4aHcG8=; b=cbapJ9CpJbG0JCZJQJW2lD4E0rLF9CfZ9jYXODvkutLf5gKAlm5XN6NiNGkVOFBAp2 RMg/PGOTXJhbpt4DJ2dmkV4PYozm6vGVIvMHOYiChZU4QpwKN4i9Ogac3SOOPWQzsf/5 2I9XS2NzbXzLY3N3FCjGxrgAmWLYSlHVxe9aOGMnMjtPJ4V3lwKwF0G1oC+YjPXA40Nd xIbICodesHOJZLEp97rq2kjnN4dXUTykTvd+yVu4jyGjTbvAKPXj09BlxKuJ9Bz0vo6M bUw+3uKkEIc/qMAEHaWpMHe9NGT0NESRiko7ba52JntGg79Wj3Fp6r/0kjOd4JgPHd6X Wrjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VsEAGg0s; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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. [23.128.96.18]) by mx.google.com with ESMTP id b34si4717046edf.381.2021.05.01.08.06.35; Sat, 01 May 2021 08:07:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VsEAGg0s; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 S231500AbhEAPEQ (ORCPT + 99 others); Sat, 1 May 2021 11:04:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229979AbhEAPEN (ORCPT ); Sat, 1 May 2021 11:04:13 -0400 Received: from mail-oi1-x233.google.com (mail-oi1-x233.google.com [IPv6:2607:f8b0:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2488BC06174A; Sat, 1 May 2021 08:03:23 -0700 (PDT) Received: by mail-oi1-x233.google.com with SMTP id i11so1111456oig.8; Sat, 01 May 2021 08:03:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=itk308xolWb0TLt+lcTt/sNiGEmO6nGlr+yjY4aHcG8=; b=VsEAGg0soEemdmWiBYXZRWG7VDRwPSt6mUXRz6PnzT/xNhAV0JMhWs3rFu+iPyvdVn Vo1H5dzkB8c1kwQBkEmlVAyWpb48HkqRKQ9yYcw228a5CqT0m0iCMneEvKklwtbLMQ9k gncMjWdmbfOnG/z1KfxkfaMQ/0QORjYlGNSD/rzTp0iCAM8XW5bvqVQLDHt+n3/AhQ2n 9W/rbaS8kNRebCnlnahVin2eIbvE1Ndz4BqeyDi7QI+7JTzNIHu5VsproNaJJUsMe2oh 5vVnJp7uWwCPEHbqrMo++4jecDjedpP1T9Jd4TaCO7yI2mWY8cA6O5lS9sQNtf4SKrkB dX6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=itk308xolWb0TLt+lcTt/sNiGEmO6nGlr+yjY4aHcG8=; b=gZs7rVk4VvP7Dh2zSRq8NCB1Z+ztky86pRFFXBDonUzYSQiLWzY71UqgNShtWsI0QZ SHozzbORw+6/ekWhPzSg6nGdJt30CFJhgYFRpozP6+9vAcbkJzLc9f7/wJLEojEX4pAX D0efXMgMmUA9ju+9x897QQdzcahyu+MCbpcEKR+aOfJMqq0+u6+xYAFiVof+H8f81iDA FrApIVRQLsQempubu/GnzyBPi5Rjn2LpfSc58LhL19mRc0AMQ5OBOqT08ApCQ1jiXZN+ EldyEFke4CJK2u0l7greNblAQdbIx+oeESOLXb65qK1b6NFrSsS+MmvaLAhf1MYg2L/V UXyw== X-Gm-Message-State: AOAM530Y+7YLOJ+zAlqcJsfiMw9PGHmmT61z0XPvhlswnatGTTibbxay RWOC7qeAfsFSK6wROJgAIxY= X-Received: by 2002:aca:bc42:: with SMTP id m63mr14592740oif.96.1619881402530; Sat, 01 May 2021 08:03:22 -0700 (PDT) Received: from Davids-MacBook-Pro.local ([8.48.134.33]) by smtp.googlemail.com with ESMTPSA id q130sm1513986oif.40.2021.05.01.08.03.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 01 May 2021 08:03:22 -0700 (PDT) Subject: Re: [PATCH iproute2-next v2] lib/fs: fix issue when {name,open}_to_handle_at() is not implemented To: Heiko Thiery , netdev@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Stephen Hemminger , Petr Vorel References: <20210430062632.21304-1-heiko.thiery@gmail.com> From: David Ahern Message-ID: <0daa2b24-e326-05d2-c219-8a7ade7376e0@gmail.com> Date: Sat, 1 May 2021 09:03:20 -0600 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 In-Reply-To: <20210430062632.21304-1-heiko.thiery@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/30/21 12:26 AM, Heiko Thiery wrote: > With commit d5e6ee0dac64b64e the usage of functions name_to_handle_at() and that is a change to ss: d5e6ee0dac64 ss: introduce cgroup2 cache and helper functions > open_by_handle_at() are introduced. But these function are not available > e.g. in uclibc-ng < 1.0.35. To have a backward compatibility check for the > availability in the configure script and in case of absence do a direct > syscall. > When you find the proper commit add a Fixes line before the Signed-off-by: Fixes: ("subject line") > Signed-off-by: Heiko Thiery > --- make sure you cc the author of the original commit. > v2: > - small correction to subject > - removed IP_CONFIG_HANDLE_AT:=y option since it is not required > - fix indentation in check function > - removed empty lines (thanks to Petr Vorel) > - add #define _GNU_SOURCE in check (thanks to Petr Vorel) > - check only for name_to_handle_at (thanks to Peter Vorel) you have 3 responses to this commit. Please send an updated patch with all the changes and the the above comments addressed. Thanks,