diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2022-01-30 15:03:49 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2022-08-20 11:34:04 -0400 |
commit | 0f60d28828dd94779c6527440289e1c36a05115a (patch) | |
tree | 3775581791b529f2924f541d38f6ce7ef78cc2de /drivers | |
parent | 568035b01cfb107af8d2e4bd2fb9aea22cf5b868 (diff) |
dynamic_dname(): drop unused dentry argument
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/dma-buf/dma-buf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma-buf/dma-buf.c b/drivers/dma-buf/dma-buf.c index efb4990b29e1..5ec2f314b6e9 100644 --- a/drivers/dma-buf/dma-buf.c +++ b/drivers/dma-buf/dma-buf.c @@ -53,7 +53,7 @@ static char *dmabuffs_dname(struct dentry *dentry, char *buffer, int buflen) ret = strlcpy(name, dmabuf->name, DMA_BUF_NAME_LEN); spin_unlock(&dmabuf->name_lock); - return dynamic_dname(dentry, buffer, buflen, "/%s:%s", + return dynamic_dname(buffer, buflen, "/%s:%s", dentry->d_name.name, ret > 0 ? name : ""); } |