diff options
author | Jeff Layton <jlayton@redhat.com> | 2012-09-19 09:22:42 -0400 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2012-09-24 22:46:32 -0400 |
commit | 71953fc6e4ce5ac05b594d8e5866accf531aa969 (patch) | |
tree | 3c26e6418eeac94c542ea1d29153f8dc6db3a006 /fs/cifs/smb2ops.c | |
parent | 5819575ec6b82345e1a21a960d381c699a91c700 (diff) |
cifs: remove kmap lock and rsize limit
Now that we aren't abusing the kmap address space, there's no need for
this lock or to impose a limit on the rsize.
Signed-off-by: Jeff Layton <jlayton@redhat.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 a621d6125367..b1dedf8cb372 100644 --- a/fs/cifs/smb2ops.c +++ b/fs/cifs/smb2ops.c | |||
@@ -205,9 +205,6 @@ smb2_negotiate_rsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) | |||
205 | */ | 205 | */ |
206 | rsize = min_t(unsigned int, rsize, 2 << 15); | 206 | rsize = min_t(unsigned int, rsize, 2 << 15); |
207 | 207 | ||
208 | /* limit to the amount that we can kmap at once */ | ||
209 | rsize = min_t(unsigned int, rsize, CIFS_KMAP_SIZE_LIMIT); | ||
210 | |||
211 | return rsize; | 208 | return rsize; |
212 | } | 209 | } |
213 | 210 | ||