projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb9bdaa
)
[CIFS] Remove compiler warning
author
Steve French
<sfrench@us.ibm.com>
Sat, 28 Jan 2006 02:36:11 +0000
(18:36 -0800)
committer
Steve French
<sfrench@us.ibm.com>
Sat, 28 Jan 2006 02:36:11 +0000
(18:36 -0800)
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/connect.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/cifs/connect.c
b/fs/cifs/connect.c
index eae306fa24b2f97e6c51332bdc8a3ffbb806c1a6..e488603fb1e77f29c601e7892d6f683d9e43b804 100644
(file)
--- 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