diff options
author | Amir Goldstein <amir73il@gmail.com> | 2017-12-28 13:23:05 -0500 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2018-01-24 05:25:56 -0500 |
commit | 91ffe7beb31e7e1e689a59f5ef56acea0811d81c (patch) | |
tree | 6a5528271ffbaf34650fd988a4f1660dcc70bbbb /fs/overlayfs/overlayfs.h | |
parent | 24f0b17203691d22815e842051a014e3bde7c227 (diff) |
ovl: factor out ovl_get_index_fh() helper
The helper is needed to lookup an index by file handle for NFS export.
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 8f4313c6693b..4e784f6ff484 100644 --- a/fs/overlayfs/overlayfs.h +++ b/fs/overlayfs/overlayfs.h | |||
@@ -257,6 +257,7 @@ int ovl_verify_set_fh(struct dentry *dentry, const char *name, | |||
257 | struct dentry *real, bool is_upper, bool set); | 257 | struct dentry *real, bool is_upper, bool set); |
258 | int ovl_verify_index(struct ovl_fs *ofs, struct dentry *index); | 258 | int ovl_verify_index(struct ovl_fs *ofs, struct dentry *index); |
259 | int ovl_get_index_name(struct dentry *origin, struct qstr *name); | 259 | int ovl_get_index_name(struct dentry *origin, struct qstr *name); |
260 | struct dentry *ovl_get_index_fh(struct ovl_fs *ofs, struct ovl_fh *fh); | ||
260 | int ovl_path_next(int idx, struct dentry *dentry, struct path *path); | 261 | int ovl_path_next(int idx, struct dentry *dentry, struct path *path); |
261 | struct dentry *ovl_lookup(struct inode *dir, struct dentry *dentry, | 262 | struct dentry *ovl_lookup(struct inode *dir, struct dentry *dentry, |
262 | unsigned int flags); | 263 | unsigned int flags); |