diff options
author | Jeff Layton <jlayton@redhat.com> | 2012-09-19 15:22:42 +0200 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2012-09-25 04:46:32 +0200 |
commit | 71953fc6e4ce5ac05b594d8e5866accf531aa969 (patch) | |
tree | 3c26e6418eeac94c542ea1d29153f8dc6db3a006 /fs/cifs/smb2ops.c | |
parent | cifs: replace kvec array in readdata with a single kvec (diff) | |
download | linux-71953fc6e4ce5ac05b594d8e5866accf531aa969.tar.xz linux-71953fc6e4ce5ac05b594d8e5866accf531aa969.zip |
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) */ rsize = min_t(unsigned int, rsize, 2 << 15); - /* limit to the amount that we can kmap at once */ - rsize = min_t(unsigned int, rsize, CIFS_KMAP_SIZE_LIMIT); - return rsize; } |