aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/exportfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/exportfs.h')
-rw-r--r--include/linux/exportfs.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/exportfs.h b/include/linux/exportfs.h
index fdc306fbba50..8872fe8392d6 100644
--- a/include/linux/exportfs.h
+++ b/include/linux/exportfs.h
@@ -5,6 +5,7 @@
5 5
6struct dentry; 6struct dentry;
7struct super_block; 7struct super_block;
8struct vfsmount;
8 9
9 10
10/** 11/**
@@ -116,4 +117,10 @@ extern struct dentry *find_exported_dentry(struct super_block *sb, void *obj,
116 void *parent, int (*acceptable)(void *context, struct dentry *de), 117 void *parent, int (*acceptable)(void *context, struct dentry *de),
117 void *context); 118 void *context);
118 119
120extern int exportfs_encode_fh(struct dentry *dentry, __u32 *fh, int *max_len,
121 int connectable);
122extern struct dentry *exportfs_decode_fh(struct vfsmount *mnt, __u32 *fh,
123 int fh_len, int fileid_type, int (*acceptable)(void *, struct dentry *),
124 void *context);
125
119#endif /* LINUX_EXPORTFS_H */ 126#endif /* LINUX_EXPORTFS_H */