summaryrefslogtreecommitdiff
path: root/mm/vmpressure.c
diff options
context:
space:
mode:
authorMatthew R. Ochs <mrochs@linux.vnet.ibm.com>2015-10-21 20:13:29 (GMT)
committerJames Bottomley <JBottomley@Odin.com>2015-10-30 08:11:38 (GMT)
commit8396012ff77affe4def5f0e5757b6c4e8107b33e (patch)
tree1c41e1b8488a7492902a71b57a8daa7213bea0f6 /mm/vmpressure.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 'mm/vmpressure.c')
0 files changed, 0 insertions, 0 deletions