commit | 0f60d28828dd94779c6527440289e1c36a05115a | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sun Jan 30 15:03:49 2022 -0500 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sat Aug 20 11:34:04 2022 -0400 |
tree | 3775581791b529f2924f541d38f6ce7ef78cc2de | |
parent | 568035b01cfb107af8d2e4bd2fb9aea22cf5b868 [diff] [blame] |
dynamic_dname(): drop unused dentry argument Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/net/socket.c b/net/socket.c index 9b27c5e..d183e83 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); }