diff options
author | Amir Goldstein <amir73il@gmail.com> | 2018-02-02 03:42:03 -0500 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2018-04-12 06:04:49 -0400 |
commit | 5b2cccd32c668de6bd1979545184cd7f0260f053 (patch) | |
tree | 70ddc3a5d986eedf17b7b28c2bb087ba541e5095 /fs/overlayfs/overlayfs.h | |
parent | 9f99e50d460ac7fd5f6c9b97aad0088c28c8656d (diff) |
ovl: disambiguate ovl_encode_fh()
Rename ovl_encode_fh() to ovl_encode_real_fh() to differentiate from the
exportfs function ovl_encode_inode_fh() and change the latter to
ovl_encode_fh() to match the exportfs method name.
Rename ovl_decode_fh() to ovl_decode_real_fh() for consistency.
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/overlayfs/overlayfs.h')
-rw-r--r-- | fs/overlayfs/overlayfs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/overlayfs/overlayfs.h b/fs/overlayfs/overlayfs.h index 225ff1171147..dd6c10e5a7db 100644 --- a/fs/overlayfs/overlayfs.h +++ b/fs/overlayfs/overlayfs.h | |||
@@ -266,7 +266,7 @@ static inline bool ovl_is_impuredir(struct dentry *dentry) | |||
266 | 266 | ||
267 | /* namei.c */ | 267 | /* namei.c */ |
268 | int ovl_check_fh_len(struct ovl_fh *fh, int fh_len); | 268 | int ovl_check_fh_len(struct ovl_fh *fh, int fh_len); |
269 | struct dentry *ovl_decode_fh(struct ovl_fh *fh, struct vfsmount *mnt); | 269 | struct dentry *ovl_decode_real_fh(struct ovl_fh *fh, struct vfsmount *mnt); |
270 | int ovl_check_origin_fh(struct ovl_fs *ofs, struct ovl_fh *fh, | 270 | int ovl_check_origin_fh(struct ovl_fs *ofs, struct ovl_fh *fh, |
271 | struct dentry *upperdentry, struct ovl_path **stackp); | 271 | struct dentry *upperdentry, struct ovl_path **stackp); |
272 | int ovl_verify_set_fh(struct dentry *dentry, const char *name, | 272 | int ovl_verify_set_fh(struct dentry *dentry, const char *name, |
@@ -361,7 +361,7 @@ int ovl_copy_up(struct dentry *dentry); | |||
361 | int ovl_copy_up_flags(struct dentry *dentry, int flags); | 361 | int ovl_copy_up_flags(struct dentry *dentry, int flags); |
362 | int ovl_copy_xattr(struct dentry *old, struct dentry *new); | 362 | int ovl_copy_xattr(struct dentry *old, struct dentry *new); |
363 | int ovl_set_attr(struct dentry *upper, struct kstat *stat); | 363 | int ovl_set_attr(struct dentry *upper, struct kstat *stat); |
364 | struct ovl_fh *ovl_encode_fh(struct dentry *real, bool is_upper); | 364 | struct ovl_fh *ovl_encode_real_fh(struct dentry *real, bool is_upper); |
365 | int ovl_set_origin(struct dentry *dentry, struct dentry *lower, | 365 | int ovl_set_origin(struct dentry *dentry, struct dentry *lower, |
366 | struct dentry *upper); | 366 | struct dentry *upper); |
367 | 367 | ||