On 4/26/21 11:53 AM, Yang Xu wrote:
We don't add fallback for renameat2, so it build failed on old kernel. Also, renameat2() man-pages said as below: "renameat2() has an additional flags argument. A renameat2() call with a zero flags argument is equivalent to renameat()." In this src file, it uses zero flag for all renameat2 call. So we can use renameat directly. Signed-off-by: Yang Xu <xuyang2018.jy@xxxxxxxxxxx> ---
Looks good. This fixes the build error. Reviewed-by:Anju T Sudhakar<anju@xxxxxxxxxxxxxxxxxx>