diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2022-01-30 21:03:49 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2022-08-20 17:34:04 +0200 |
commit | 0f60d28828dd94779c6527440289e1c36a05115a (patch) | |
tree | 3775581791b529f2924f541d38f6ce7ef78cc2de /fs/nsfs.c | |
parent | Linux 6.0-rc1 (diff) | |
download | linux-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.c | 2 |
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); } |