aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/readdir.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2021-03-18 15:47:35 -0400
committerSteve French <stfrench@microsoft.com>2021-04-25 16:28:23 -0500
commit8e33cf20ceb7f6d7a7e039f9f82a0cd1f3a6f964 (patch)
treee72144e13f84a8f6ae89ad5b558ea39289aa7b03 /fs/cifs/readdir.c
parentcifs: constify pathname arguments in a bunch of helpers (diff)
downloadlinux-dev-8e33cf20ceb7f6d7a7e039f9f82a0cd1f3a6f964.tar.xz
linux-dev-8e33cf20ceb7f6d7a7e039f9f82a0cd1f3a6f964.zip
cifs: make build_path_from_dentry() return const char *
... and adjust the callers. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/readdir.c')
-rw-r--r--fs/cifs/readdir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/readdir.c b/fs/cifs/readdir.c
index 7225b2cae3e6..67c3177a1fda 100644
--- a/fs/cifs/readdir.c
+++ b/fs/cifs/readdir.c
@@ -942,7 +942,7 @@ int cifs_readdir(struct file *file, struct dir_context *ctx)
char *tmp_buf = NULL;
char *end_of_smb;
unsigned int max_len;
- char *full_path = NULL;
+ const char *full_path = NULL;
xid = get_xid();