summaryrefslogtreecommitdiffstats
path: root/fs/cifs/connect.c
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2005-08-23 20:26:03 -0700
committerSteve French <sfrench@us.ibm.com>2005-08-23 20:26:03 -0700
commit6b8edfe0f918e7585acb3bd63f62ff56e32dd3d2 (patch)
treeea9c6c9c85b0653aeac1abad87ad160114de28af /fs/cifs/connect.c
parenta10faeb2a3e266385cc334fe9af76e08e5e4330f (diff)
downloadop-kernel-dev-6b8edfe0f918e7585acb3bd63f62ff56e32dd3d2.zip
op-kernel-dev-6b8edfe0f918e7585acb3bd63f62ff56e32dd3d2.tar.gz
[CIFS] Support for mounting to older servers part 2. Add support for
legacy getattr (lookup). Signed-off-by: Steve French (sfrench@us.ibm.com)
Diffstat (limited to 'fs/cifs/connect.c')
-rw-r--r--fs/cifs/connect.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
index 9d61844..c75bae1 100644
--- a/fs/cifs/connect.c
+++ b/fs/cifs/connect.c
@@ -1730,8 +1730,9 @@ cifs_mount(struct super_block *sb, struct cifs_sb_info *cifs_sb,
else
cifs_sb->wsize = CIFSMaxBufSize; /* default */
if(cifs_sb->rsize < PAGE_CACHE_SIZE) {
- cifs_sb->rsize = PAGE_CACHE_SIZE;
- cERROR(1,("Attempt to set readsize for mount to less than one page (4096)"));
+ cifs_sb->rsize = PAGE_CACHE_SIZE;
+ /* Windows ME does this */
+ cFYI(1,("Attempt to set readsize for mount to less than one page (4096)"));
}
cifs_sb->mnt_uid = volume_info.linux_uid;
cifs_sb->mnt_gid = volume_info.linux_gid;
OpenPOWER on IntegriCloud