Skip to content

Commit 7e5f7bb

Browse files
Al Virodhowells
authored andcommitted
unexport simple_dname()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1 parent 4de1e3a commit 7e5f7bb

3 files changed

Lines changed: 1 addition & 2 deletions

File tree

‎fs/d_path.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,6 @@ char *simple_dname(struct dentry *dentry, char *buffer, int buflen)
316316
end = ERR_PTR(-ENAMETOOLONG);
317317
return end;
318318
}
319-
EXPORT_SYMBOL(simple_dname);
320319

321320
/*
322321
* Write full pathname from the root of the filesystem into the buffer.

‎fs/internal.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ extern int d_set_mounted(struct dentry *dentry);
160160
extern long prune_dcache_sb(struct super_block *sb, struct shrink_control *sc);
161161
extern struct dentry *d_alloc_cursor(struct dentry *);
162162
extern struct dentry * d_alloc_pseudo(struct super_block *, const struct qstr *);
163+
extern char *simple_dname(struct dentry *, char *, int);
163164

164165
/*
165166
* read_write.c

‎include/linux/dcache.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,6 @@ static inline unsigned d_count(const struct dentry *dentry)
291291
*/
292292
extern __printf(4, 5)
293293
char *dynamic_dname(struct dentry *, char *, int, const char *, ...);
294-
extern char *simple_dname(struct dentry *, char *, int);
295294

296295
extern char *__d_path(const struct path *, const struct path *, char *, int);
297296
extern char *d_absolute_path(const struct path *, char *, int);

0 commit comments

Comments
 (0)