mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +00:00
[CIFS] Remove compiler warning
Signed-off-by: Steve French <sfrench@us.ibm.com>
This commit is contained in:
parent
eb9bdaa3f3
commit
1877c9ea66
1 changed files with 2 additions and 1 deletions
|
@ -1786,7 +1786,8 @@ cifs_mount(struct super_block *sb, struct cifs_sb_info *cifs_sb,
|
||||||
cifs_sb->wsize = volume_info.wsize;
|
cifs_sb->wsize = volume_info.wsize;
|
||||||
else
|
else
|
||||||
cifs_sb->wsize =
|
cifs_sb->wsize =
|
||||||
min(PAGEVEC_SIZE * PAGE_CACHE_SIZE, 127*1024);
|
min_t(const int, PAGEVEC_SIZE * PAGE_CACHE_SIZE,
|
||||||
|
127*1024);
|
||||||
/* old default of CIFSMaxBufSize was too small now
|
/* old default of CIFSMaxBufSize was too small now
|
||||||
that SMB Write2 can send multiple pages in kvec.
|
that SMB Write2 can send multiple pages in kvec.
|
||||||
RFC1001 does not describe what happens when frame
|
RFC1001 does not describe what happens when frame
|
||||||
|
|
Loading…
Reference in a new issue