Hi Wei,
...
> + } else {
> + for (size_t i = 0; i < 5000; i++)
> + fsconfig(fd, FSCONFIG_SET_STRING, "\x00", val, 0);
Why calling fsconfig() without any check for old kernels? It really looks
strange we don't care about the result. That would deserve an explanation in the
commit message.
Kind regards,
Petr