ovl: handle idmappings in creation operations
authorChristian Brauner <brauner@kernel.org>
Mon, 4 Apr 2022 10:51:45 +0000 (12:51 +0200)
committerMiklos Szeredi <mszeredi@redhat.com>
Thu, 28 Apr 2022 14:31:11 +0000 (16:31 +0200)
commitc67cf6544753e3b04e48820bd8d4be84cd10fc02
tree98b4f599e320359227c1cbd13d342a021e751249
parentb65c20acef23cea2989c9f23414930149d38962f
ovl: handle idmappings in creation operations

When creating objects in the upper layer we need to pass down the upper
idmapping into the respective vfs helpers in order to support idmapped
base layers. The vfs helpers will take care of the rest.

Cc: <linux-unionfs@vger.kernel.org>
Tested-by: Giuseppe Scrivano <gscrivan@redhat.com>
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Christian Brauner (Microsoft) <brauner@kernel.org>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/overlayfs/overlayfs.h