Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etercifs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
etercifs
Commits
2c4a9641
Commit
2c4a9641
authored
Oct 08, 2011
by
Pavel Shilovsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix incorrect max RFC1002 write size value for 3.0
parent
efe2a246
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
connect.c
sources/3.0/connect.c
+2
-2
No files found.
sources/3.0/connect.c
View file @
2c4a9641
...
...
@@ -2772,10 +2772,10 @@ void cifs_setup_cifs_sb(struct smb_vol *pvolume_info,
/*
* When the server doesn't allow large posix writes, only allow a wsize of
*
128k
minus the size of the WRITE_AND_X header. That allows for a write up
*
2^17-1
minus the size of the WRITE_AND_X header. That allows for a write up
* to the maximum size described by RFC1002.
*/
#define CIFS_MAX_RFC1002_WSIZE (
128 * 1024
- sizeof(WRITE_REQ) + 4)
#define CIFS_MAX_RFC1002_WSIZE (
(1<<17) - 1
- sizeof(WRITE_REQ) + 4)
/*
* The default wsize is 1M. find_get_pages seems to return a maximum of 256
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment