Skip to content

Commit

Permalink
[CIFS] Remove compiler warning
Browse files Browse the repository at this point in the history
Signed-off-by: Steve French <sfrench@us.ibm.com>
  • Loading branch information
Steve French committed Jan 28, 2006
1 parent eb9bdaa commit 1877c9e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fs/cifs/connect.c
Original file line number Diff line number Diff line change
Expand Up @@ -1786,7 +1786,8 @@ cifs_mount(struct super_block *sb, struct cifs_sb_info *cifs_sb,
cifs_sb->wsize = volume_info.wsize;
else
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
that SMB Write2 can send multiple pages in kvec.
RFC1001 does not describe what happens when frame
Expand Down

0 comments on commit 1877c9e

Please sign in to comment.