diff options
author | Christian Brauner <brauner@kernel.org> | 2022-04-04 12:51:49 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2022-04-28 16:31:11 +0200 |
commit | 22f289ce1f8b10556617157819a48cf13370f06f (patch) | |
tree | abe9907afc3334bffd239634d72c2f7816ee3884 /lib/random32.c | |
parent | ovl: use ovl_do_notify_change() wrapper (diff) | |
download | linux-22f289ce1f8b10556617157819a48cf13370f06f.tar.xz linux-22f289ce1f8b10556617157819a48cf13370f06f.zip |
ovl: use ovl_lookup_upper() wrapper
Introduce ovl_lookup_upper() as a simple wrapper around lookup_one().
Make it clear in the helper's name that this only operates on the upper
layer. The wrapper will take upper layer's idmapping into account when
checking permission in lookup_one().
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 'lib/random32.c')
0 files changed, 0 insertions, 0 deletions