ovl: decode lower non-dir file handles
Decoding a lower non-dir file handle is done by decoding the lower dentry from underlying lower fs, finding or allocating an overlay inode that is hashed by the real lower inode and instantiating an overlay dentry with that inode. Signed-off-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
This commit is contained in:

committed by
Miklos Szeredi

parent
03e1c584ff
commit
f941866fc4
@@ -266,6 +266,8 @@ static inline bool ovl_is_impuredir(struct dentry *dentry)
|
||||
/* namei.c */
|
||||
int ovl_check_fh_len(struct ovl_fh *fh, int fh_len);
|
||||
struct dentry *ovl_decode_fh(struct ovl_fh *fh, struct vfsmount *mnt);
|
||||
int ovl_check_origin_fh(struct ovl_fs *ofs, struct ovl_fh *fh,
|
||||
struct dentry *upperdentry, struct ovl_path **stackp);
|
||||
int ovl_verify_set_fh(struct dentry *dentry, const char *name,
|
||||
struct dentry *real, bool is_upper, bool set);
|
||||
int ovl_verify_index(struct ovl_fs *ofs, struct dentry *index);
|
||||
|
Reference in New Issue
Block a user