summaryrefslogtreecommitdiff
path: root/fs/cifs/smb2ops.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/smb2ops.c
parentf6f1f1790775fbe45e14a99aab2fab3d74919450 (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/smb2ops.c')
-rw-r--r--fs/cifs/smb2ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/smb2ops.c b/fs/cifs/smb2ops.c
index 81b1e0eca9b9..30cfbebdd8b4 100644
--- a/fs/cifs/smb2ops.c
+++ b/fs/cifs/smb2ops.c
@@ -2221,7 +2221,7 @@ smb3_notify(const unsigned int xid, struct file *pfile,
struct cifs_open_parms oparms;
struct cifs_fid fid;
struct cifs_tcon *tcon;
- unsigned char *path = NULL;
+ const unsigned char *path = NULL;
__le16 *utf16_path = NULL;
u8 oplock = SMB2_OPLOCK_LEVEL_NONE;
int rc = 0;