diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2019-05-20 13:44:57 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2019-05-21 08:23:41 +0100 |
commit | 7e5f7bb08b8cefd3a7e8961861f47fe1f0e830d4 (patch) | |
tree | cb383d63183aa28356b61935bda12382e86ee98c | |
parent | 4de1e3a8ecec3432ed6ed7da0b90b34750358899 (diff) |
unexport simple_dname()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r-- | fs/d_path.c | 1 | ||||
-rw-r--r-- | fs/internal.h | 1 | ||||
-rw-r--r-- | include/linux/dcache.h | 1 |
3 files changed, 1 insertions, 2 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 diff --git a/include/linux/dcache.h b/include/linux/dcache.h index f14e587c5d5d..361305ddd75e 100644 --- a/include/linux/dcache.h +++ b/include/linux/dcache.h @@ -291,7 +291,6 @@ static inline unsigned d_count(const struct dentry *dentry) */ extern __printf(4, 5) char *dynamic_dname(struct dentry *, char *, int, const char *, ...); -extern char *simple_dname(struct dentry *, char *, int); extern char *__d_path(const struct path *, const struct path *, char *, int); extern char *d_absolute_path(const struct path *, char *, int); |