diff options
author | Pavel Shilovsky <pshilovsky@samba.org> | 2012-07-12 18:30:44 +0400 |
---|---|---|
committer | Pavel Shilovsky <pshilovsky@samba.org> | 2012-07-24 21:55:17 +0400 |
commit | 9094fad1ed90caebd25b1bdec3c8982d079356ee (patch) | |
tree | a6a111f572f18533d31d80a771fe848507cb26b6 /fs/cifs/cifsglob.h | |
parent | f6d7617862e106affc59c6933099e45629af5c4e (diff) | |
download | linux-9094fad1ed90caebd25b1bdec3c8982d079356ee.tar.gz linux-9094fad1ed90caebd25b1bdec3c8982d079356ee.tar.bz2 linux-9094fad1ed90caebd25b1bdec3c8982d079356ee.zip |
CIFS: Add echo request support for SMB2
Signed-off-by: Pavel Shilovsky <piastryyy@gmail.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r-- | fs/cifs/cifsglob.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index 0c53a8339253..ae9a1e900c15 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h @@ -73,6 +73,9 @@ /* (max path length + 1 for null) * 2 for unicode */ #define MAX_NAME 514 +/* SMB echo "timeout" -- FIXME: tunable? */ +#define SMB_ECHO_INTERVAL (60 * HZ) + #include "cifspdu.h" #ifndef XATTR_DOS_ATTRIB |