diff options
author | Pavel Shilovsky <piastry@etersoft.ru> | 2012-05-17 04:45:31 -0400 |
---|---|---|
committer | Pavel Shilovsky <pshilovsky@samba.org> | 2012-05-23 04:33:08 -0400 |
commit | 1887f60103aaeeeb7a3fbf3b366d626043873164 (patch) | |
tree | fda4c3574550dd4d84f7c656748671edeec7468b /fs/cifs/smb1ops.c | |
parent | 082d0642c61fc309ca7f6133968ba1264193dcc1 (diff) |
CIFS: Move header_size/max_header_size to ops structure
Acked-by: Shirish Pargaonkar <shirishpargaonkar@gmail.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/smb1ops.c')
-rw-r--r-- | fs/cifs/smb1ops.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/cifs/smb1ops.c b/fs/cifs/smb1ops.c index 9cf76e89745f..3668e81a9d81 100644 --- a/fs/cifs/smb1ops.c +++ b/fs/cifs/smb1ops.c | |||
@@ -79,4 +79,6 @@ struct smb_version_values smb1_values = { | |||
79 | .exclusive_lock_type = 0, | 79 | .exclusive_lock_type = 0, |
80 | .shared_lock_type = LOCKING_ANDX_SHARED_LOCK, | 80 | .shared_lock_type = LOCKING_ANDX_SHARED_LOCK, |
81 | .unlock_lock_type = 0, | 81 | .unlock_lock_type = 0, |
82 | .header_size = sizeof(struct smb_hdr), | ||
83 | .max_header_size = MAX_CIFS_HDR_SIZE, | ||
82 | }; | 84 | }; |