diff options
author | Amir Goldstein <amir73il@gmail.com> | 2025-01-05 17:24:03 +0100 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2025-01-06 15:43:55 +0100 |
commit | 07aeefae7ff44d80524375253980b1bdee2396b0 (patch) | |
tree | 37beb1318a5eb9199a59f7e37786cd8cb0aeb76c /fs/overlayfs/overlayfs.h | |
parent | fuse: respect FOPEN_KEEP_CACHE on opendir (diff) | |
download | linux-07aeefae7ff44d80524375253980b1bdee2396b0.tar.xz linux-07aeefae7ff44d80524375253980b1bdee2396b0.zip |
ovl: pass realinode to ovl_encode_real_fh() instead of realdentry
We want to be able to encode an fid from an inode with no alias.
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Link: https://lore.kernel.org/r/20250105162404.357058-2-amir73il@gmail.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to '')
-rw-r--r-- | fs/overlayfs/overlayfs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/overlayfs/overlayfs.h b/fs/overlayfs/overlayfs.h index b361f35762be..0021e2025020 100644 --- a/fs/overlayfs/overlayfs.h +++ b/fs/overlayfs/overlayfs.h @@ -865,7 +865,7 @@ int ovl_copy_up_with_data(struct dentry *dentry); int ovl_maybe_copy_up(struct dentry *dentry, int flags); int ovl_copy_xattr(struct super_block *sb, const struct path *path, struct dentry *new); int ovl_set_attr(struct ovl_fs *ofs, struct dentry *upper, struct kstat *stat); -struct ovl_fh *ovl_encode_real_fh(struct ovl_fs *ofs, struct dentry *real, +struct ovl_fh *ovl_encode_real_fh(struct ovl_fs *ofs, struct inode *realinode, bool is_upper); struct ovl_fh *ovl_get_origin_fh(struct ovl_fs *ofs, struct dentry *origin); int ovl_set_origin_fh(struct ovl_fs *ofs, const struct ovl_fh *fh, |