diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2022-01-30 15:03:49 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2022-08-20 11:34:04 -0400 |
commit | 0f60d28828dd94779c6527440289e1c36a05115a (patch) | |
tree | 3775581791b529f2924f541d38f6ce7ef78cc2de /include/linux/dcache.h | |
parent | 568035b01cfb107af8d2e4bd2fb9aea22cf5b868 (diff) | |
download | lwn-0f60d28828dd94779c6527440289e1c36a05115a.tar.gz lwn-0f60d28828dd94779c6527440289e1c36a05115a.zip |
dynamic_dname(): drop unused dentry argument
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/dcache.h')
-rw-r--r-- | include/linux/dcache.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/dcache.h b/include/linux/dcache.h index 92c78ed02b54..54d46518c481 100644 --- a/include/linux/dcache.h +++ b/include/linux/dcache.h @@ -287,8 +287,8 @@ static inline unsigned d_count(const struct dentry *dentry) /* * helper function for dentry_operations.d_dname() members */ -extern __printf(4, 5) -char *dynamic_dname(struct dentry *, char *, int, const char *, ...); +extern __printf(3, 4) +char *dynamic_dname(char *, int, const char *, ...); extern char *__d_path(const struct path *, const struct path *, char *, int); extern char *d_absolute_path(const struct path *, char *, int); |