aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2022-10-06 16:55:41 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2022-10-06 16:55:41 -0700
commit70df64d6c6c2f76be47311fa6630d6edbefa711e (patch)
tree3c031250f622b2bdd47d896acdd16f7cf28c9e55 /include
parentMerge tag 'pull-inode' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs (diff)
parentd_path.c: typo fix... (diff)
downloadlinux-dev-70df64d6c6c2f76be47311fa6630d6edbefa711e.tar.xz
linux-dev-70df64d6c6c2f76be47311fa6630d6edbefa711e.zip
Merge tag 'pull-d_path' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull vfs d_path updates from Al Viro. * tag 'pull-d_path' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: d_path.c: typo fix... dynamic_dname(): drop unused dentry argument
Diffstat (limited to 'include')
-rw-r--r--include/linux/dcache.h4
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);