diff options
author | Ronnie Sahlberg <lsahlber@redhat.com> | 2020-12-14 16:40:17 +1000 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2020-12-14 09:26:30 -0600 |
commit | 522aa3b575322597efdd64a517c65b2f43fb6b9c (patch) | |
tree | ca6b3fc6fe95a0dd1703e017a7be998c9fd369c7 /fs/cifs/smb2ops.c | |
parent | c741cba2cd1d145c71f928c329cac007e6f99e42 (diff) | |
download | linux-522aa3b575322597efdd64a517c65b2f43fb6b9c.tar.bz2 |
cifs: move [brw]size from cifs_sb to cifs_sb->ctx
Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/smb2ops.c')
-rw-r--r-- | fs/cifs/smb2ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/smb2ops.c b/fs/cifs/smb2ops.c index 940e61e92a8c..a505cc3e58da 100644 --- a/fs/cifs/smb2ops.c +++ b/fs/cifs/smb2ops.c @@ -3951,7 +3951,7 @@ smb3_parse_lease_buf(void *buf, unsigned int *epoch, char *lease_key) static unsigned int smb2_wp_retry_size(struct inode *inode) { - return min_t(unsigned int, CIFS_SB(inode->i_sb)->wsize, + return min_t(unsigned int, CIFS_SB(inode->i_sb)->ctx->wsize, SMB2_MAX_BUFFER_SIZE); } |