diff options
author | Amir Goldstein <amir73il@gmail.com> | 2017-11-08 12:39:51 -0500 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2018-04-12 06:04:50 -0400 |
commit | da309e8c055de8d6461ae01764a3352c77878735 (patch) | |
tree | 15c31ab13375f887e3fed4847611707856270c1a /fs/overlayfs/overlayfs.h | |
parent | 8f35cf51cd24a08e3d5b97e7253c93a5c90a4c1e (diff) |
ovl: factor out ovl_map_dev_ino() helper
A helper for ovl_getattr() to map the values of st_dev and st_ino
according to constant st_ino rules.
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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/overlayfs/overlayfs.h b/fs/overlayfs/overlayfs.h index b51613b355c5..09779f9111a8 100644 --- a/fs/overlayfs/overlayfs.h +++ b/fs/overlayfs/overlayfs.h | |||
@@ -215,6 +215,7 @@ void ovl_path_lower(struct dentry *dentry, struct path *path); | |||
215 | enum ovl_path_type ovl_path_real(struct dentry *dentry, struct path *path); | 215 | enum ovl_path_type ovl_path_real(struct dentry *dentry, struct path *path); |
216 | struct dentry *ovl_dentry_upper(struct dentry *dentry); | 216 | struct dentry *ovl_dentry_upper(struct dentry *dentry); |
217 | struct dentry *ovl_dentry_lower(struct dentry *dentry); | 217 | struct dentry *ovl_dentry_lower(struct dentry *dentry); |
218 | struct ovl_layer *ovl_layer_lower(struct dentry *dentry); | ||
218 | struct dentry *ovl_dentry_real(struct dentry *dentry); | 219 | struct dentry *ovl_dentry_real(struct dentry *dentry); |
219 | struct dentry *ovl_i_dentry_upper(struct inode *inode); | 220 | struct dentry *ovl_i_dentry_upper(struct inode *inode); |
220 | struct inode *ovl_inode_upper(struct inode *inode); | 221 | struct inode *ovl_inode_upper(struct inode *inode); |