Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 155739
b: refs/heads/master
c: 03aa3a4
h: refs/heads/master
i:
  155737: 15346ff
  155735: 4055f97
v: v3
  • Loading branch information
Jeff Layton authored and Steve French committed Jul 22, 2009
1 parent dcaa44d commit 2ecf81c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ce6e7fcd43aab1f77e56aa36936dd7d2d05a1ffa
refs/heads/master: 03aa3a49ad3592a9e4e1ab19c6da3e852288caf1
8 changes: 4 additions & 4 deletions trunk/fs/cifs/connect.c
Original file line number Diff line number Diff line change
Expand Up @@ -2452,10 +2452,10 @@ cifs_mount(struct super_block *sb, struct cifs_sb_info *cifs_sb,
tcon->local_lease = volume_info->local_lease;
}
if (pSesInfo) {
if (pSesInfo->capabilities & CAP_LARGE_FILES) {
sb->s_maxbytes = (u64) 1 << 63;
} else
sb->s_maxbytes = (u64) 1 << 31; /* 2 GB */
if (pSesInfo->capabilities & CAP_LARGE_FILES)
sb->s_maxbytes = MAX_LFS_FILESIZE;
else
sb->s_maxbytes = MAX_NON_LFS;
}

/* BB FIXME fix time_gran to be larger for LANMAN sessions */
Expand Down

0 comments on commit 2ecf81c

Please sign in to comment.