]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/exportfs.h
Merge branch 'locks' of git://linux-nfs.org/~bfields/linux
[linux-2.6-omap-h63xx.git] / include / linux / exportfs.h
index fdc306fbba5070d34611fe5ca6557fb4255f8ba1..8872fe8392d6f367b443a8b6997ee5aac0894f0a 100644 (file)
@@ -5,6 +5,7 @@
 
 struct dentry;
 struct super_block;
+struct vfsmount;
 
 
 /**
@@ -116,4 +117,10 @@ extern struct dentry *find_exported_dentry(struct super_block *sb, void *obj,
        void *parent, int (*acceptable)(void *context, struct dentry *de),
        void *context);
 
+extern int exportfs_encode_fh(struct dentry *dentry, __u32 *fh, int *max_len,
+       int connectable);
+extern struct dentry *exportfs_decode_fh(struct vfsmount *mnt, __u32 *fh,
+       int fh_len, int fileid_type, int (*acceptable)(void *, struct dentry *),
+       void *context);
+
 #endif /* LINUX_EXPORTFS_H */