aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/connect.c
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2006-01-27 21:36:11 -0500
committerSteve French <sfrench@us.ibm.com>2006-01-27 21:36:11 -0500
commit1877c9ea66a29563987f22d0a86c66f438a87ce2 (patch)
treed81e48a27dc6d812f6cf1b74c992205af09ef68d /fs/cifs/connect.c
parenteb9bdaa3f3b9d30d09bcad47037216aa39639b8e (diff)
[CIFS] Remove compiler warning
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/connect.c')
-rw-r--r--fs/cifs/connect.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
index eae306fa24b2..e488603fb1e7 100644
--- a/fs/cifs/connect.c
+++ b/fs/cifs/connect.c
@@ -1786,7 +1786,8 @@ cifs_mount(struct super_block *sb, struct cifs_sb_info *cifs_sb,
1786 cifs_sb->wsize = volume_info.wsize; 1786 cifs_sb->wsize = volume_info.wsize;
1787 else 1787 else
1788 cifs_sb->wsize = 1788 cifs_sb->wsize =
1789 min(PAGEVEC_SIZE * PAGE_CACHE_SIZE, 127*1024); 1789 min_t(const int, PAGEVEC_SIZE * PAGE_CACHE_SIZE,
1790 127*1024);
1790 /* old default of CIFSMaxBufSize was too small now 1791 /* old default of CIFSMaxBufSize was too small now
1791 that SMB Write2 can send multiple pages in kvec. 1792 that SMB Write2 can send multiple pages in kvec.
1792 RFC1001 does not describe what happens when frame 1793 RFC1001 does not describe what happens when frame