diff options
author | Namjae Jeon <linkinjeon@kernel.org> | 2021-11-03 02:25:54 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2021-11-12 04:22:58 +0300 |
commit | 2dd9129f7dec1de369e4447a54ea2edf695f765b (patch) | |
tree | 013f012f7fb55b973e71c1e0e69976f650789879 /fs/ksmbd/connection.c | |
parent | cb4517201b8acdb5fd5314494aaf86c267f22345 (diff) | |
download | linux-2dd9129f7dec1de369e4447a54ea2edf695f765b.tar.xz |
ksmbd: remove smb2_buf_length in smb2_transform_hdr
To move smb2_transform_hdr to smbfs_common, This patch remove
smb2_buf_length variable in smb2_transform_hdr.
Cc: Ronnie Sahlberg <ronniesahlberg@gmail.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/ksmbd/connection.c')
-rw-r--r-- | fs/ksmbd/connection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ksmbd/connection.c b/fs/ksmbd/connection.c index 12f710ccbdff..83a94d0bb480 100644 --- a/fs/ksmbd/connection.c +++ b/fs/ksmbd/connection.c @@ -171,7 +171,7 @@ int ksmbd_conn_write(struct ksmbd_work *work) if (work->tr_buf) { iov[iov_idx] = (struct kvec) { work->tr_buf, - sizeof(struct smb2_transform_hdr) }; + sizeof(struct smb2_transform_hdr) + 4 }; len += iov[iov_idx++].iov_len; } |