diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2021-03-18 20:47:35 +0100 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2021-04-25 23:28:23 +0200 |
commit | 8e33cf20ceb7f6d7a7e039f9f82a0cd1f3a6f964 (patch) | |
tree | e72144e13f84a8f6ae89ad5b558ea39289aa7b03 /fs/cifs/cifsproto.h | |
parent | cifs: constify pathname arguments in a bunch of helpers (diff) | |
download | linux-8e33cf20ceb7f6d7a7e039f9f82a0cd1f3a6f964.tar.xz linux-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/cifsproto.h')
-rw-r--r-- | fs/cifs/cifsproto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h index a46594c79e75..ed6ea0c59cb9 100644 --- a/fs/cifs/cifsproto.h +++ b/fs/cifs/cifsproto.h @@ -69,7 +69,7 @@ extern int init_cifs_idmap(void); extern void exit_cifs_idmap(void); extern int init_cifs_spnego(void); extern void exit_cifs_spnego(void); -extern char *build_path_from_dentry(struct dentry *); +extern const char *build_path_from_dentry(struct dentry *); extern char *build_path_from_dentry_optional_prefix(struct dentry *direntry, bool prefix); extern char *cifs_build_path_to_root(struct smb3_fs_context *ctx, |