summaryrefslogtreecommitdiffstats
path: root/net/socket.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2022-10-07 01:55:41 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2022-10-07 01:55:41 +0200
commit70df64d6c6c2f76be47311fa6630d6edbefa711e (patch)
tree3c031250f622b2bdd47d896acdd16f7cf28c9e55 /net/socket.c
parentMerge tag 'pull-inode' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs (diff)
parentd_path.c: typo fix... (diff)
downloadlinux-70df64d6c6c2f76be47311fa6630d6edbefa711e.tar.xz
linux-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 'net/socket.c')
-rw-r--r--net/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/socket.c b/net/socket.c
index 7378375d3a5b..00da9ce3dba0 100644
--- a/net/socket.c
+++ b/net/socket.c
@@ -355,7 +355,7 @@ static const struct super_operations sockfs_ops = {
*/
static char *sockfs_dname(struct dentry *dentry, char *buffer, int buflen)
{
- return dynamic_dname(dentry, buffer, buflen, "socket:[%lu]",
+ return dynamic_dname(buffer, buflen, "socket:[%lu]",
d_inode(dentry)->i_ino);
}