diff options
author | Steve French <sfrench@us.ibm.com> | 2006-01-28 02:36:11 (GMT) |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2006-01-28 02:36:11 (GMT) |
commit | 1877c9ea66a29563987f22d0a86c66f438a87ce2 (patch) | |
tree | d81e48a27dc6d812f6cf1b74c992205af09ef68d | |
parent | eb9bdaa3f3b9d30d09bcad47037216aa39639b8e (diff) | |
download | linux-fsl-qoriq-1877c9ea66a29563987f22d0a86c66f438a87ce2.tar.xz |
[CIFS] Remove compiler warning
Signed-off-by: Steve French <sfrench@us.ibm.com>
-rw-r--r-- | fs/cifs/connect.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index eae306f..e488603 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, 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 |