mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
exportfs: Add a function to return the raw output from fh_to_dentry()
In order to allow nfsd to accept return values that are not acceptable to overlayfs and others, add a new function. Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
This commit is contained in:
committed by
Chuck Lever
parent
7f84b488f9
commit
d045465fc6
@@ -223,6 +223,11 @@ extern int exportfs_encode_inode_fh(struct inode *inode, struct fid *fid,
|
||||
int *max_len, struct inode *parent);
|
||||
extern int exportfs_encode_fh(struct dentry *dentry, struct fid *fid,
|
||||
int *max_len, int connectable);
|
||||
extern struct dentry *exportfs_decode_fh_raw(struct vfsmount *mnt,
|
||||
struct fid *fid, int fh_len,
|
||||
int fileid_type,
|
||||
int (*acceptable)(void *, struct dentry *),
|
||||
void *context);
|
||||
extern struct dentry *exportfs_decode_fh(struct vfsmount *mnt, struct fid *fid,
|
||||
int fh_len, int fileid_type, int (*acceptable)(void *, struct dentry *),
|
||||
void *context);
|
||||
|
Reference in New Issue
Block a user