Thread (10 messages) flat view 10 messages, 3 authors, 2021-05-02

Re: [PATCH iproute2-next v2] lib/fs: fix issue when {name,open}_to_handle_at() is not implemented

From: Heiko Thiery <hidden>
Date: 2021-05-02 08:39:41
Also in: lkml

Hi David,

Am Sa., 1. Mai 2021 um 17:03 Uhr schrieb David Ahern [off-list ref]:
On 4/30/21 12:26 AM, Heiko Thiery wrote:
quoted
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

quoted
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: <id> ("subject line")
quoted
Signed-off-by: Heiko Thiery <redacted>
---
make sure you cc the author of the original commit.
Ok.
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help