aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/connect.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/cifs/connect.c')
-rw-r--r--fs/cifs/connect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
index f05d9e2016d5..31eb9a3bf627 100644
--- a/fs/cifs/connect.c
+++ b/fs/cifs/connect.c
@@ -1740,7 +1740,7 @@ cifs_mount(struct super_block *sb, struct cifs_sb_info *cifs_sb,
1740 cifs_sb->rsize = volume_info.rsize; 1740 cifs_sb->rsize = volume_info.rsize;
1741 else 1741 else
1742 cifs_sb->rsize = srvTcp->maxBuf - MAX_CIFS_HDR_SIZE; /* default */ 1742 cifs_sb->rsize = srvTcp->maxBuf - MAX_CIFS_HDR_SIZE; /* default */
1743 if((volume_info.wsize) && (volume_info.wsize <= CIFSMaxBufSize)) 1743 if(volume_info.wsize)
1744 cifs_sb->wsize = volume_info.wsize; 1744 cifs_sb->wsize = volume_info.wsize;
1745 else 1745 else
1746 cifs_sb->wsize = CIFSMaxBufSize; /* default */ 1746 cifs_sb->wsize = CIFSMaxBufSize; /* default */