diff options
author | Ronnie Sahlberg <lsahlber@redhat.com> | 2020-12-14 07:40:17 +0100 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2020-12-14 16:26:30 +0100 |
commit | 522aa3b575322597efdd64a517c65b2f43fb6b9c (patch) | |
tree | ca6b3fc6fe95a0dd1703e017a7be998c9fd369c7 /fs/cifs/smb2ops.c | |
parent | cifs: move cifs_cleanup_volume_info[_content] to fs_context.c (diff) | |
download | linux-522aa3b575322597efdd64a517c65b2f43fb6b9c.tar.xz linux-522aa3b575322597efdd64a517c65b2f43fb6b9c.zip |
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); } |