summary refs log tree commit diff
path: root/fs/nfs/direct.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2020-07-15 17:26:04 +0100
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2020-07-15 13:01:01 -0400
commit912288442cb2f431bf3c8cb097a5de83bc6dbac1 (patch)
tree0d84135db64ddeb2a85073c727fd95b7f33f853f /fs/nfs/direct.c
parent913fadc5b105c3619d9e8d0fe8899ff1593cc737 (diff)
downloadlinux-912288442cb2f431bf3c8cb097a5de83bc6dbac1.tar.gz
xprtrdma: fix incorrect header size calculations
Currently the header size calculations are using an assignment
operator instead of a += operator when accumulating the header
size leading to incorrect sizes.  Fix this by using the correct
operator.

Addresses-Coverity: ("Unused value")
Fixes: 302d3deb2068 ("xprtrdma: Prevent inline overflow")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/direct.c')
0 files changed, 0 insertions, 0 deletions