aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/connect.c
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2005-08-23 23:26:03 -0400
committerSteve French <sfrench@us.ibm.com>2005-08-23 23:26:03 -0400
commit6b8edfe0f918e7585acb3bd63f62ff56e32dd3d2 (patch)
treeea9c6c9c85b0653aeac1abad87ad160114de28af /fs/cifs/connect.c
parenta10faeb2a3e266385cc334fe9af76e08e5e4330f (diff)
[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 9d61844e89b6..c75bae1242dc 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,
1730 else 1730 else
1731 cifs_sb->wsize = CIFSMaxBufSize; /* default */ 1731 cifs_sb->wsize = CIFSMaxBufSize; /* default */
1732 if(cifs_sb->rsize < PAGE_CACHE_SIZE) { 1732 if(cifs_sb->rsize < PAGE_CACHE_SIZE) {
1733 cifs_sb->rsize = PAGE_CACHE_SIZE; 1733 cifs_sb->rsize = PAGE_CACHE_SIZE;
1734 cERROR(1,("Attempt to set readsize for mount to less than one page (4096)")); 1734 /* Windows ME does this */
1735 cFYI(1,("Attempt to set readsize for mount to less than one page (4096)"));
1735 } 1736 }
1736 cifs_sb->mnt_uid = volume_info.linux_uid; 1737 cifs_sb->mnt_uid = volume_info.linux_uid;
1737 cifs_sb->mnt_gid = volume_info.linux_gid; 1738 cifs_sb->mnt_gid = volume_info.linux_gid;