]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc9e092687072a46eecdf4e61b87ce86d4d94193e
treeffd0ba80d4f26e406789c224c73d8889505b0481
parent510cfc5f1bba405b81c57779537169fa8c30c58c
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