diff options
author | Jeff Layton <jlayton@redhat.com> | 2012-09-19 01:20:36 +0200 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2012-09-25 04:46:31 +0200 |
commit | c84ce4a7b22aa54017c61217f8a0e5e24d593da1 (patch) | |
tree | 05af4457d10b84c14a2e63cf656cc1398d4e1a3c /fs/cifs/smb2ops.c | |
parent | cifs: convert async write code to pass in data via rq_pages array (diff) | |
download | linux-c84ce4a7b22aa54017c61217f8a0e5e24d593da1.tar.xz linux-c84ce4a7b22aa54017c61217f8a0e5e24d593da1.zip |
cifs: remove the kmap size limit from wsize
Now that we're not kmapping so much at once, there's no need to cap
the wsize at the amount that can be simultaneously kmapped.
Reviewed-by: Pavel Shilovsky <pshilovsky@samba.org>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/smb2ops.c')
-rw-r--r-- | fs/cifs/smb2ops.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/cifs/smb2ops.c b/fs/cifs/smb2ops.c index 3a8c68258026..a621d6125367 100644 --- a/fs/cifs/smb2ops.c +++ b/fs/cifs/smb2ops.c @@ -187,9 +187,6 @@ smb2_negotiate_wsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) */ wsize = min_t(unsigned int, wsize, 2 << 15); - /* limit to the amount that we can kmap at once */ - wsize = min_t(unsigned int, wsize, CIFS_KMAP_SIZE_LIMIT); - return wsize; } |