diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2021-03-18 15:47:35 -0400 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2021-04-25 16:28:23 -0500 |
commit | 8e33cf20ceb7f6d7a7e039f9f82a0cd1f3a6f964 (patch) | |
tree | e72144e13f84a8f6ae89ad5b558ea39289aa7b03 /fs/cifs/ioctl.c | |
parent | f6f1f1790775fbe45e14a99aab2fab3d74919450 (diff) |
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/ioctl.c')
-rw-r--r-- | fs/cifs/ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/ioctl.c b/fs/cifs/ioctl.c index dcde44ff6cf9..aba573dd86ac 100644 --- a/fs/cifs/ioctl.c +++ b/fs/cifs/ioctl.c @@ -42,7 +42,7 @@ static long cifs_ioctl_query_info(unsigned int xid, struct file *filep, struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb); struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); struct dentry *dentry = filep->f_path.dentry; - unsigned char *path; + const unsigned char *path; __le16 *utf16_path = NULL, root_path; int rc = 0; |