summaryrefslogtreecommitdiff
path: root/fs/anon_inodes.c
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@HansenPartnership.com>2008-09-20 00:31:50 +0000
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-09-23 12:29:01 -0700
commit44ea91c597ae4641d9ac21b8bbba0795d2f4261e (patch)
tree93a373ec24d3a290533bbcce1e7d038a6fb81179 /fs/anon_inodes.c
parent048feec5548c0582ee96148c61b87cccbcb5f9be (diff)
[SCSI] Fix hang with split requests
Sometimes, particularly for USB devices with the last sector bug, requests get completed in chunks. There's a bug in this in that if one of the chunks gets an error, we complete that chunk with an error but never move on to the remaining ones, leading to the request hanging (because it's not fully completed). Fix this by completing all remaining chunks if an error is encountered. Cc: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'fs/anon_inodes.c')
0 files changed, 0 insertions, 0 deletions