diff options
author | Amir Goldstein <amir73il@gmail.com> | 2022-04-04 12:51:53 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2022-04-28 16:31:12 +0200 |
commit | ffa5723c6d259b3191f851a50a98d0352b345b39 (patch) | |
tree | 6330f67aa5602d77acc9cd4f2d2006944e3cf6c3 /security/keys/dh.c | |
parent | ba9ea771ec8a9da4e3aa5cb8c8549fc3b15b2641 (diff) | |
download | linux-stable-ffa5723c6d259b3191f851a50a98d0352b345b39.tar.gz linux-stable-ffa5723c6d259b3191f851a50a98d0352b345b39.tar.bz2 linux-stable-ffa5723c6d259b3191f851a50a98d0352b345b39.zip |
ovl: store lower path in ovl_inode
Create some ovl_i_* helpers to get real path from ovl inode. Instead of
just stashing struct inode for the lower layer we stash struct path for
the lower layer. The helpers allow to retrieve a struct path for the
relevant upper or lower layer. This will be used when retrieving
information based on struct inode when copying up inode attributes from
upper or lower inodes to ovl inodes and when checking permissions in
ovl_permission() in following patches. 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 'security/keys/dh.c')
0 files changed, 0 insertions, 0 deletions