Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp1764674pxy; Sun, 2 May 2021 01:42:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwVT1DnpeFM59JVOTzJAZPj7AfZkwKYfDRcB75JTOkoP0e2xUdsFEgi0F6luTy/udowZXPd X-Received: by 2002:a05:6402:518f:: with SMTP id q15mr15191825edd.150.1619944930889; Sun, 02 May 2021 01:42:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619944930; cv=none; d=google.com; s=arc-20160816; b=Q/kyAvqKo9m7F3MFNKuC/zO1V7lnmHpp4TRd+jFXz3CqwonQ8K06fOwqK1MVymAUDz +BpEkb4vm+stpEQkwvmE6lZKTq7Cil1pXqYzNYrc1lOInt+XnYXnuPO64IcI0cWh3KkB ZPBu5gEggUhiEjoQsjUZr4z/QJ8fXuI6TuxUNMG8Hb/f1hVQ4vrSKTmoG1HtXcnF5NTG 1RBce7OFuEs0JAnPa+f+9dIczAc8oMl4CTdKJqfJjfNnSpRt7tiRzhzxUNATTblo+kwg uFXCmZbBBjuA0tBgFPj1f0/Nmj8lDqxQN69qakqXXb0Tk9G4//oUBgMPiz4EWVDfY4sv SjTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=7/KTtjV7bJwA8G3GwppRxcxSa6k7CMAcgX+cDACvfCs=; b=WGz/FaGi1bGoJq0PZriA5v9WRpgVo1w+1BBioCKCxeySJrWvdWTfUx7joOXE1v4R3F VouhqF3QpmQRm/9P80lwx2vpE2yaL4VAulMN10iQALluaVzb9dR51IPqUfwE8xiF7XRP wVahvdVCmFKv5D7fdfVLjX7n6eUw0NFPcvpkQMY1j8QJUMf0nkfqrLEOuY9hkoSDlYxl Koz1R4yNDkpVbTovcGhc9kjMIflr9kc+XcPDYsRWCyQou3PAIbmKVHDiZ71sdQ5mCh7E 2IehPweUY0y6JxaUY/5f1+WZ9ggSkQUxKQFFki+poencHEsnLCqyDMnjjznOf/TZS2/H ctgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=k32FaUCC; 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 ov24si7715390ejb.375.2021.05.02.01.41.16; Sun, 02 May 2021 01:42:10 -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=k32FaUCC; 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 S230455AbhEBIj1 (ORCPT + 99 others); Sun, 2 May 2021 04:39:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229988AbhEBIj0 (ORCPT ); Sun, 2 May 2021 04:39:26 -0400 Received: from mail-ot1-x333.google.com (mail-ot1-x333.google.com [IPv6:2607:f8b0:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D282DC06174A; Sun, 2 May 2021 01:38:35 -0700 (PDT) Received: by mail-ot1-x333.google.com with SMTP id f75-20020a9d03d10000b0290280def9ab76so2418665otf.12; Sun, 02 May 2021 01:38:35 -0700 (PDT) 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=7/KTtjV7bJwA8G3GwppRxcxSa6k7CMAcgX+cDACvfCs=; b=k32FaUCCahjIPW4a/dG+KH3fEBtYc3zsZXeezvTnLvzvEqrwkzpjnC6xQkHzsZpXzL LLaOq9dmzkepvOXAUWI1eLCq+MxwOygNSS/o4YwjMFYIpdSU4ZDYa31Vo4UytZlJv8J7 GvsKofuAXqM2RvU5BJbbmSy4odKnwEqMnTbsoaVkWQOSotjqQfQ/zWnoH+I7tVHdpcN6 GSc6AQcxZfITzNWR3Atl5J3d3lAloy8fDN1pEfY9AFUs5emzBNiMJw5S+Adc/5BPiJkl PjNxInT2IiucPvN6ip4tmynars0Ltu4T5T7NRvmgZJxyX6qKsU6JIsM2Uc41Kv1qrwj8 zoAg== 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=7/KTtjV7bJwA8G3GwppRxcxSa6k7CMAcgX+cDACvfCs=; b=EtuK5H7GvU97tFHqOg7e8KQ87GxrftjCoT2dK2r/ZxmL5nG6FDyiC85hTtLSGdBhKK cDkHaCL7oTk2FSckcnH69Ju96zKAI0RpKzGVix/rZN7M/GlJ9FH9zFNtgGph+fPMuEap fCnO7a9gV6JtWPVvBhxDkxr/pc3vNC5qfLo/23bE+PiZ4eO9mgxA0OrBftYTYTyqnS4H n6lSHMIzHtkYKsthyjEg3ZReLIbsD39jWe+oOMub2gGGmQkYMEvDaZb+38K6oEhBmtHY 9x+g5pzZdVrLHfuzaz18uVNaFuKwO6HvlikCBSn4Iq3xHvZ078CWFgCgpeLRk0LfTekq XnHw== X-Gm-Message-State: AOAM533Kg3xARzDR+GjS77KFAMCwp0kDM1tAAbvq4ipz+AXbVIVnKsyV 1JvQYrcCB5csz7MIpOoCKGfQTJQjxIMorKyNkiQ= X-Received: by 2002:a9d:6f05:: with SMTP id n5mr10337939otq.203.1619944715242; Sun, 02 May 2021 01:38:35 -0700 (PDT) MIME-Version: 1.0 References: <20210430062632.21304-1-heiko.thiery@gmail.com> <0daa2b24-e326-05d2-c219-8a7ade7376e0@gmail.com> In-Reply-To: <0daa2b24-e326-05d2-c219-8a7ade7376e0@gmail.com> From: Heiko Thiery Date: Sun, 2 May 2021 10:38:24 +0200 Message-ID: Subject: Re: [PATCH iproute2-next v2] lib/fs: fix issue when {name,open}_to_handle_at() is not implemented To: David Ahern Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Stephen Hemminger , Petr Vorel Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi David, Am Sa., 1. Mai 2021 um 17:03 Uhr schrieb David Ahern : > > 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: What do you mean with finding the right commit? This (d5e6ee0dac64) is the commit that introduced the usage of the missing functions. Or have I overlooked something? > > Fixes: ("subject line") > > Signed-off-by: Heiko Thiery > > --- > > make sure you cc the author of the original commit. Ok. > > > 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. I will implement the comments and send a new version. > Thanks, Thanks, -- Heiko