summaryrefslogtreecommitdiff
path: root/net/socket.c
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 /net/socket.c
parent46811b5cb369fe638665b805f3c84683f78e5379 (diff)
parentc4c8451147da569a79eff5edcd2864e8ee21d7aa (diff)
downloadlwn-70df64d6c6c2f76be47311fa6630d6edbefa711e.tar.gz
lwn-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);
}