projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
block: dump request state on seeing a corrupted request completion
[linux-2.6-block.git]
/
block
/
blk-core.c
diff --git
a/block/blk-core.c
b/block/blk-core.c
index e0a062363937291e2a9b82602b296bd8e6e2602a..4fdf8953efbf010e7dffff8df00d7fb19acf68d7 100644
(file)
--- a/
block/blk-core.c
+++ b/
block/blk-core.c
@@
-2163,7
+2163,7
@@
bool blk_update_request(struct request *req, int error, unsigned int nr_bytes)
* size, something has gone terribly wrong.
*/
if (blk_rq_bytes(req) < blk_rq_cur_bytes(req)) {
-
printk(KERN_ERR "blk: request botched\n
");
+
blk_dump_rq_flags(req, "request botched
");
req->__data_len = blk_rq_cur_bytes(req);
}