summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsproto.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2015-11-13 04:46:49 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2016-03-28 20:05:27 +0200
commit16c568efff82e4a6a75d2bd86576e648fad8a7fe (patch)
tree1e002f9f43b5f90f9f6f0fad86cb819e2ddabd24 /fs/cifs/cifsproto.h
parent[net] drop 'size' argument of sock_recvmsg() (diff)
downloadlinux-16c568efff82e4a6a75d2bd86576e648fad8a7fe.tar.xz
linux-16c568efff82e4a6a75d2bd86576e648fad8a7fe.zip
cifs: merge the hash calculation helpers
three practically identical copies... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/cifs/cifsproto.h')
-rw-r--r--fs/cifs/cifsproto.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h
index eed7ff50faf0..d9b4f444fdf9 100644
--- a/fs/cifs/cifsproto.h
+++ b/fs/cifs/cifsproto.h
@@ -512,4 +512,7 @@ int cifs_create_mf_symlink(unsigned int xid, struct cifs_tcon *tcon,
struct cifs_sb_info *cifs_sb,
const unsigned char *path, char *pbuf,
unsigned int *pbytes_written);
+int __cifs_calc_signature(struct smb_rqst *rqst,
+ struct TCP_Server_Info *server, char *signature,
+ struct shash_desc *shash);
#endif /* _CIFSPROTO_H */