diff options
author | Jeff Layton <jlayton@redhat.com> | 2011-01-11 07:24:23 -0500 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2011-01-20 13:07:55 -0500 |
commit | 7749981ec31aa40e28a1ef5687e46bc1aa278fae (patch) | |
tree | 7c5f75916f55cfe5130e88534c48678155974adf /fs/cifs/cifsglob.h | |
parent | fda3594362184383e73f0a2a5fa5b38ac0e04fd8 (diff) |
cifs: remove code for setting timeouts on requests
Since we don't time out individual requests anymore, remove the code
that we used to use for setting timeouts on different requests.
Reviewed-by: Pavel Shilovsky <piastryyy@gmail.com>
Reviewed-by: Suresh Jayaraman <sjayaraman@suse.de>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r-- | fs/cifs/cifsglob.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index 7040abc638fa..571132c95231 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h | |||
@@ -636,12 +636,9 @@ static inline void free_dfs_info_array(struct dfs_info3_param *param, | |||
636 | #define CIFS_IOVEC 4 /* array of response buffers */ | 636 | #define CIFS_IOVEC 4 /* array of response buffers */ |
637 | 637 | ||
638 | /* Type of Request to SendReceive2 */ | 638 | /* Type of Request to SendReceive2 */ |
639 | #define CIFS_STD_OP 0 /* normal request timeout */ | 639 | #define CIFS_BLOCKING_OP 1 /* operation can block */ |
640 | #define CIFS_LONG_OP 1 /* long op (up to 45 sec, oplock time) */ | 640 | #define CIFS_ASYNC_OP 2 /* do not wait for response */ |
641 | #define CIFS_VLONG_OP 2 /* sloow op - can take up to 180 seconds */ | 641 | #define CIFS_TIMEOUT_MASK 0x003 /* only one of above set in req */ |
642 | #define CIFS_BLOCKING_OP 4 /* operation can block */ | ||
643 | #define CIFS_ASYNC_OP 8 /* do not wait for response */ | ||
644 | #define CIFS_TIMEOUT_MASK 0x00F /* only one of 5 above set in req */ | ||
645 | #define CIFS_LOG_ERROR 0x010 /* log NT STATUS if non-zero */ | 642 | #define CIFS_LOG_ERROR 0x010 /* log NT STATUS if non-zero */ |
646 | #define CIFS_LARGE_BUF_OP 0x020 /* large request buffer */ | 643 | #define CIFS_LARGE_BUF_OP 0x020 /* large request buffer */ |
647 | #define CIFS_NO_RESP 0x040 /* no response buffer required */ | 644 | #define CIFS_NO_RESP 0x040 /* no response buffer required */ |