summaryrefslogtreecommitdiff
path: root/fs/cifs/cifsproto.h
diff options
context:
space:
mode:
authorSamuel Cabrero <scabrero@suse.de>2020-11-30 21:02:48 +0300
committerSteve French <stfrench@microsoft.com>2020-12-14 18:16:22 +0300
commite73a42e07a2246ecd8b0cad70824d26ab07985c2 (patch)
tree3de15027ab55dcbf92a4fbd3c4f7bb3392f01707 /fs/cifs/cifsproto.h
parenta87e67254bc5da9ca6f3899e354fcf03d12cfd10 (diff)
downloadlinux-e73a42e07a2246ecd8b0cad70824d26ab07985c2.tar.xz
cifs: Make extract_sharename function public
Move the function to misc.c Signed-off-by: Samuel Cabrero <scabrero@suse.de> Reviewed-by: Aurelien Aptel <aaptel@suse.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/cifsproto.h')
-rw-r--r--fs/cifs/cifsproto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h
index 3fe0c4a0d36d..b80b57a66804 100644
--- a/fs/cifs/cifsproto.h
+++ b/fs/cifs/cifsproto.h
@@ -618,6 +618,7 @@ struct super_block *cifs_get_tcp_super(struct TCP_Server_Info *server);
void cifs_put_tcp_super(struct super_block *sb);
int update_super_prepath(struct cifs_tcon *tcon, char *prefix);
char *extract_hostname(const char *unc);
+char *extract_sharename(const char *unc);
#ifdef CONFIG_CIFS_DFS_UPCALL
static inline int get_dfs_path(const unsigned int xid, struct cifs_ses *ses,