aboutsummaryrefslogtreecommitdiffstats
path: root/fs/overlayfs/ovl_entry.h
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2022-04-04 12:51:52 +0200
committerMiklos Szeredi <mszeredi@redhat.com>2022-04-28 16:31:12 +0200
commitba9ea771ec8a9da4e3aa5cb8c8549fc3b15b2641 (patch)
tree8a7b2992a7a56db470f2ce201630fd4be96eecb6 /fs/overlayfs/ovl_entry.h
parentovl: handle idmappings for layer fileattrs (diff)
downloadlinux-dev-ba9ea771ec8a9da4e3aa5cb8c8549fc3b15b2641.tar.xz
linux-dev-ba9ea771ec8a9da4e3aa5cb8c8549fc3b15b2641.zip
ovl: handle idmappings for layer lookup
Make the two places where lookup helpers can be called either on lower or upper layers take the mount's idmapping into account. To this end we pass down the mount in struct ovl_lookup_data. It can later also be used to construct struct path for various other helpers. This is needed to support idmapped base layers with overlay. 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>
Diffstat (limited to 'fs/overlayfs/ovl_entry.h')
0 files changed, 0 insertions, 0 deletions