diff options
author | Amir Goldstein <amir73il@gmail.com> | 2022-04-04 12:51:47 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2022-04-28 16:31:11 +0200 |
commit | 1248ea4b91bcdafefdb025087e67d58382cfc9eb (patch) | |
tree | b2cdefa0cfc7da672d6e39ce956bea16f0efd8ec /net/mctp/af_mctp.c | |
parent | 5272eaf3a5682750f6f26ec542b206f0821fb3cb (diff) | |
download | linux-1248ea4b91bcdafefdb025087e67d58382cfc9eb.tar.bz2 |
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>
Diffstat (limited to 'net/mctp/af_mctp.c')
0 files changed, 0 insertions, 0 deletions