Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro 2019-05-20 13:44:57 +01:00 коммит произвёл David Howells
Родитель 4de1e3a8ec
Коммит 7e5f7bb08b
3 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -316,7 +316,6 @@ char *simple_dname(struct dentry *dentry, char *buffer, int buflen)
end = ERR_PTR(-ENAMETOOLONG); end = ERR_PTR(-ENAMETOOLONG);
return end; return end;
} }
EXPORT_SYMBOL(simple_dname);
/* /*
* Write full pathname from the root of the filesystem into the buffer. * Write full pathname from the root of the filesystem into the buffer.

Просмотреть файл

@ -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 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_cursor(struct dentry *);
extern struct dentry * d_alloc_pseudo(struct super_block *, const struct qstr *); extern struct dentry * d_alloc_pseudo(struct super_block *, const struct qstr *);
extern char *simple_dname(struct dentry *, char *, int);
/* /*
* read_write.c * read_write.c

Просмотреть файл

@ -291,7 +291,6 @@ static inline unsigned d_count(const struct dentry *dentry)
*/ */
extern __printf(4, 5) extern __printf(4, 5)
char *dynamic_dname(struct dentry *, char *, int, const char *, ...); 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_path(const struct path *, const struct path *, char *, int);
extern char *d_absolute_path(const struct path *, char *, int); extern char *d_absolute_path(const struct path *, char *, int);