Skip to content

Do not filter out the RENAME_WHITEOUT flag of rename2

Jiachen Zhang requested to merge zhangjaycee/virtiofsd-rs:fix-rename2 into main

To use virtio-fs directories as the upperdir of overlayfs in VMs, we need to passthrough the RENAME_WHITEOUT flag. The Linux kernel commit 519525fa47b5a8155f0b203e49a3a6a2319f75ae already enabled the passthrough of the flag. Therefore, let's avoid filtering out it for rename2.

Signed-off-by: Jiachen Zhang zhangjiachen.jaycee@bytedance.com

Edited by Jiachen Zhang

Merge request reports