summaryrefslogtreecommitdiff
path: root/fs/locks.c
diff options
context:
space:
mode:
authorMatthew R. Ochs <mrochs@linux.vnet.ibm.com>2015-10-21 23:13:29 +0300
committerJames Bottomley <JBottomley@Odin.com>2015-10-30 11:11:38 +0300
commit8396012ff77affe4def5f0e5757b6c4e8107b33e (patch)
tree1c41e1b8488a7492902a71b57a8daa7213bea0f6 /fs/locks.c
parent018d1dc9558e748e271cd1600c698f68cba3fb09 (diff)
downloadlinux-8396012ff77affe4def5f0e5757b6c4e8107b33e.tar.xz
cxlflash: Fix location of setting resid
The resid is incorrectly set which can lead to unnecessary retry attempts by the stack. This is due to resid _always_ being set using a value returned from the adapter. Instead, the value should only be interpreted and set when in an underrun scenario. Signed-off-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com> Signed-off-by: Manoj N. Kumar <manoj@linux.vnet.ibm.com> Reviewed-by: Brian King <brking@linux.vnet.ibm.com> Reviewed-by: Tomas Henzl <thenzl@redhat.com> Signed-off-by: James Bottomley <JBottomley@Odin.com>
Diffstat (limited to 'fs/locks.c')
0 files changed, 0 insertions, 0 deletions