fuse: Support RENAME_WHITEOUT flag
authorVivek Goyal <vgoyal@redhat.com>
Wed, 5 Feb 2020 13:15:46 +0000 (08:15 -0500)
committerMiklos Szeredi <mszeredi@redhat.com>
Thu, 6 Feb 2020 15:39:28 +0000 (16:39 +0100)
commit519525fa47b5a8155f0b203e49a3a6a2319f75ae
treeffd0ba80d4f26e406789c224c73d8889505b0481
parent2f1398291bf35fe027914ae7a9610d8e601fbfde
fuse: Support RENAME_WHITEOUT flag

Allow fuse to pass RENAME_WHITEOUT to fuse server.  Overlayfs on top of
virtiofs uses RENAME_WHITEOUT.

Without this patch renaming a directory in overlayfs (dir is on lower)
fails with -EINVAL. With this patch it works.

Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/fuse/dir.c