diff options
Diffstat (limited to 'fs/cifs/cifsproto.h')
-rw-r--r-- | fs/cifs/cifsproto.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h index 6f4e243e0f62..503e73d8bdb7 100644 --- a/fs/cifs/cifsproto.h +++ b/fs/cifs/cifsproto.h | |||
@@ -88,6 +88,9 @@ extern int SendReceiveBlockingLock(const unsigned int xid, | |||
88 | struct smb_hdr *in_buf , | 88 | struct smb_hdr *in_buf , |
89 | struct smb_hdr *out_buf, | 89 | struct smb_hdr *out_buf, |
90 | int *bytes_returned); | 90 | int *bytes_returned); |
91 | extern void cifs_add_credits(struct TCP_Server_Info *server, | ||
92 | const unsigned int add); | ||
93 | extern void cifs_set_credits(struct TCP_Server_Info *server, const int val); | ||
91 | extern int checkSMB(struct smb_hdr *smb, __u16 mid, unsigned int length); | 94 | extern int checkSMB(struct smb_hdr *smb, __u16 mid, unsigned int length); |
92 | extern bool is_valid_oplock_break(struct smb_hdr *smb, | 95 | extern bool is_valid_oplock_break(struct smb_hdr *smb, |
93 | struct TCP_Server_Info *); | 96 | struct TCP_Server_Info *); |
@@ -168,7 +171,13 @@ extern struct smb_vol *cifs_get_volume_info(char *mount_data, | |||
168 | const char *devname); | 171 | const char *devname); |
169 | extern int cifs_mount(struct cifs_sb_info *, struct smb_vol *); | 172 | extern int cifs_mount(struct cifs_sb_info *, struct smb_vol *); |
170 | extern void cifs_umount(struct cifs_sb_info *); | 173 | extern void cifs_umount(struct cifs_sb_info *); |
174 | |||
175 | #if IS_ENABLED(CONFIG_CIFS_DFS_UPCALL) | ||
171 | extern void cifs_dfs_release_automount_timer(void); | 176 | extern void cifs_dfs_release_automount_timer(void); |
177 | #else /* ! IS_ENABLED(CONFIG_CIFS_DFS_UPCALL) */ | ||
178 | #define cifs_dfs_release_automount_timer() do { } while (0) | ||
179 | #endif /* ! IS_ENABLED(CONFIG_CIFS_DFS_UPCALL) */ | ||
180 | |||
172 | void cifs_proc_init(void); | 181 | void cifs_proc_init(void); |
173 | void cifs_proc_clean(void); | 182 | void cifs_proc_clean(void); |
174 | 183 | ||