Commit d66907b5 authored by Amir Goldstein's avatar Amir Goldstein
Browse files

ovl: convert ovl_real_fdget() callers to ovl_real_file()



Stop using struct fd to return a real file from ovl_real_fdget(),
because we no longer return a temporary file object and the callers
always get a borrowed file reference.

Rename the helper to ovl_real_file(), return a borrowed reference of
the real file that is referenced from the overlayfs file or an error.

Signed-off-by: default avatarAmir Goldstein <amir73il@gmail.com>
parent 4333e42e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment