summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2019-05-20 13:44:57 +0100
committerDavid Howells <dhowells@redhat.com>2019-05-21 08:23:41 +0100
commit7e5f7bb08b8cefd3a7e8961861f47fe1f0e830d4 (patch)
treecb383d63183aa28356b61935bda12382e86ee98c /fs
parent4de1e3a8ecec3432ed6ed7da0b90b34750358899 (diff)
downloadlinux-7e5f7bb08b8cefd3a7e8961861f47fe1f0e830d4.tar.bz2
unexport simple_dname()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs')
-rw-r--r--fs/d_path.c1
-rw-r--r--fs/internal.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/fs/d_path.c b/fs/d_path.c
index e8fce6b1174f..a7d0a96b35ce 100644
--- a/fs/d_path.c
+++ b/fs/d_path.c
@@ -316,7 +316,6 @@ char *simple_dname(struct dentry *dentry, char *buffer, int buflen)
end = ERR_PTR(-ENAMETOOLONG);
return end;
}
-EXPORT_SYMBOL(simple_dname);
/*
* Write full pathname from the root of the filesystem into the buffer.
diff --git a/fs/internal.h b/fs/internal.h
index 0010889f2e85..1ac2b8f6c621 100644
--- a/fs/internal.h
+++ b/fs/internal.h
@@ -160,6 +160,7 @@ extern int d_set_mounted(struct dentry *dentry);
extern long prune_dcache_sb(struct super_block *sb, struct shrink_control *sc);
extern struct dentry *d_alloc_cursor(struct dentry *);
extern struct dentry * d_alloc_pseudo(struct super_block *, const struct qstr *);
+extern char *simple_dname(struct dentry *, char *, int);
/*
* read_write.c