summaryrefslogtreecommitdiffstats
path: root/fs/nsfs.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2022-01-30 21:03:49 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2022-08-20 17:34:04 +0200
commit0f60d28828dd94779c6527440289e1c36a05115a (patch)
tree3775581791b529f2924f541d38f6ce7ef78cc2de /fs/nsfs.c
parentLinux 6.0-rc1 (diff)
downloadlinux-0f60d28828dd94779c6527440289e1c36a05115a.tar.xz
linux-0f60d28828dd94779c6527440289e1c36a05115a.zip
dynamic_dname(): drop unused dentry argument
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/nsfs.c')
-rw-r--r--fs/nsfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nsfs.c b/fs/nsfs.c
index 800c1d0eb0d0..3506f6074288 100644
--- a/fs/nsfs.c
+++ b/fs/nsfs.c
@@ -28,7 +28,7 @@ static char *ns_dname(struct dentry *dentry, char *buffer, int buflen)
struct inode *inode = d_inode(dentry);
const struct proc_ns_operations *ns_ops = dentry->d_fsdata;
- return dynamic_dname(dentry, buffer, buflen, "%s:[%lu]",
+ return dynamic_dname(buffer, buflen, "%s:[%lu]",
ns_ops->name, inode->i_ino);
}