Home
last modified time | relevance | path

Searched hist:"1248 ea4b91bcdafefdb025087e67d58382cfc9eb" (Results 1 – 1 of 1) sorted by relevance

/linux/fs/overlayfs/
H A Dfile.cdiff 1248ea4b91bcdafefdb025087e67d58382cfc9eb Mon Apr 04 12:51:47 CEST 2022 Amir Goldstein <amir73il@gmail.com> ovl: pass layer mnt to ovl_open_realfile()

Ensure that ovl_open_realfile() takes the mount's idmapping into
account. We add a new helper ovl_path_realdata() that can be used to
easily retrieve the relevant path which we can pass down. 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: Christian Brauner (Microsoft) <brauner@kernel.org>
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Christian Brauner (Microsoft) <brauner@kernel.org>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>