aboutsummaryrefslogtreecommitdiffstats
path: root/net/socket.c
diff options
context:
space:
mode:
authorAl Viro <[email protected]>2022-01-30 20:03:49 +0000
committerAl Viro <[email protected]>2022-08-20 15:34:04 +0000
commit0f60d28828dd94779c6527440289e1c36a05115a (patch)
tree3775581791b529f2924f541d38f6ce7ef78cc2de /net/socket.c
parentLinux 6.0-rc1 (diff)
downloadkernel-0f60d28828dd94779c6527440289e1c36a05115a.tar.gz
kernel-0f60d28828dd94779c6527440289e1c36a05115a.zip
dynamic_dname(): drop unused dentry argument
Signed-off-by: Al Viro <[email protected]>
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 9b27c5e4e5ba..d183e83e0cdf 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);
}