]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
unexport simple_dname()
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 20 May 2019 12:44:57 +0000 (13:44 +0100)
committerDavid Howells <dhowells@redhat.com>
Tue, 21 May 2019 07:23:41 +0000 (08:23 +0100)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/d_path.c
fs/internal.h
include/linux/dcache.h

index e8fce6b1174fb4a250da8c4f19a2981da9dc85d6..a7d0a96b35ce5ebf47dec83bce25d531e9943af4 100644 (file)
@@ -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.
index 0010889f2e8535970fdadeadfdcf4ed5ae5b1856..1ac2b8f6c621a6c9d04c961147811451ec25f547 100644 (file)
@@ -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
index f14e587c5d5dd194179cd053bf5401dfee8ab1a5..361305ddd75ed459eccdbf197fb3492b754ec0c8 100644 (file)
@@ -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);