diff options
author | Steve French <sfrench@us.ibm.com> | 2006-09-28 15:43:08 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2006-09-28 15:43:08 -0400 |
commit | 2cd646a2d1d5e0e46aa4bb55b1847b0cb35bd855 (patch) | |
tree | 06be4e598e93e5426f32837386187395e592bb0a /fs/cifs/cifsproto.h | |
parent | 1bd5bbcb6531776a8f73e2cc6287fc4dd542e1c7 (diff) |
[CIFS] Remove static and unused symbols
Most cases of the ones found by Shaggy by
"make namespacecheck"
could be removed or made static
Ack: Dave Kleikamp <shaggy@austin.ibm.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsproto.h')
-rw-r--r-- | fs/cifs/cifsproto.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h index 2fbc982aa13d..7dd2f48a4073 100644 --- a/fs/cifs/cifsproto.h +++ b/fs/cifs/cifsproto.h | |||
@@ -50,11 +50,11 @@ extern int SendReceive(const unsigned int /* xid */ , struct cifsSesInfo *, | |||
50 | extern int SendReceive2(const unsigned int /* xid */ , struct cifsSesInfo *, | 50 | extern int SendReceive2(const unsigned int /* xid */ , struct cifsSesInfo *, |
51 | struct kvec *, int /* nvec to send */, | 51 | struct kvec *, int /* nvec to send */, |
52 | int * /* type of buf returned */ , const int long_op); | 52 | int * /* type of buf returned */ , const int long_op); |
53 | extern int SendReceiveBlockingLock(const unsigned int /* xid */ , struct cifsTconInfo *, | 53 | extern int SendReceiveBlockingLock(const unsigned int /* xid */ , |
54 | struct cifsTconInfo *, | ||
54 | struct smb_hdr * /* input */ , | 55 | struct smb_hdr * /* input */ , |
55 | struct smb_hdr * /* out */ , | 56 | struct smb_hdr * /* out */ , |
56 | int * /* bytes returned */); | 57 | int * /* bytes returned */); |
57 | extern int checkSMBhdr(struct smb_hdr *smb, __u16 mid); | ||
58 | extern int checkSMB(struct smb_hdr *smb, __u16 mid, int length); | 58 | extern int checkSMB(struct smb_hdr *smb, __u16 mid, int length); |
59 | extern int is_valid_oplock_break(struct smb_hdr *smb, struct TCP_Server_Info *); | 59 | extern int is_valid_oplock_break(struct smb_hdr *smb, struct TCP_Server_Info *); |
60 | extern int is_size_safe_to_change(struct cifsInodeInfo *); | 60 | extern int is_size_safe_to_change(struct cifsInodeInfo *); |
@@ -282,8 +282,6 @@ extern void sesInfoFree(struct cifsSesInfo *); | |||
282 | extern struct cifsTconInfo *tconInfoAlloc(void); | 282 | extern struct cifsTconInfo *tconInfoAlloc(void); |
283 | extern void tconInfoFree(struct cifsTconInfo *); | 283 | extern void tconInfoFree(struct cifsTconInfo *); |
284 | 284 | ||
285 | extern int cifs_reconnect(struct TCP_Server_Info *server); | ||
286 | |||
287 | extern int cifs_sign_smb(struct smb_hdr *, struct TCP_Server_Info *,__u32 *); | 285 | extern int cifs_sign_smb(struct smb_hdr *, struct TCP_Server_Info *,__u32 *); |
288 | extern int cifs_sign_smb2(struct kvec *iov, int n_vec, struct TCP_Server_Info *, | 286 | extern int cifs_sign_smb2(struct kvec *iov, int n_vec, struct TCP_Server_Info *, |
289 | __u32 *); | 287 | __u32 *); |