diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2022-10-07 01:55:41 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-10-07 01:55:41 +0200 |
commit | 70df64d6c6c2f76be47311fa6630d6edbefa711e (patch) | |
tree | 3c031250f622b2bdd47d896acdd16f7cf28c9e55 /net/socket.c | |
parent | Merge tag 'pull-inode' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs (diff) | |
parent | d_path.c: typo fix... (diff) | |
download | linux-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.c | 2 |
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); } |