summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fs/nfsd/export.c5
-rw-r--r--include/linux/fs.h4
2 files changed, 4 insertions, 5 deletions
diff --git a/fs/nfsd/export.c b/fs/nfsd/export.c
index 1a53ff65dc3f..96c0ea8f60ce 100644
--- a/fs/nfsd/export.c
+++ b/fs/nfsd/export.c
@@ -305,11 +305,6 @@ void svc_export_request(struct cache_detail *cd,
static struct svc_export *svc_export_lookup(struct svc_export *, int);
-extern struct dentry *
-find_exported_dentry(struct super_block *sb, void *obj, void *parent,
- int (*acceptable)(void *context, struct dentry *de),
- void *context);
-
static int check_export(struct inode *inode, int flags)
{
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 31391d59ddc2..64ef55246081 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -1143,6 +1143,10 @@ struct export_operations {
};
+extern struct dentry *
+find_exported_dentry(struct super_block *sb, void *obj, void *parent,
+ int (*acceptable)(void *context, struct dentry *de),
+ void *context);
struct file_system_type {
const char *name;