commit | 4352b47ab7918108b389a48d2163c9a4c2aaf139 | [log] [tgz] |
---|---|---|
author | Marek Marczykowski <marmarek@mimuw.edu.pl> | Tue May 03 12:04:52 2011 -0400 |
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | Thu May 12 08:55:51 2011 -0400 |
tree | 0cff95e7f551f838de24c516d241449bfb4e07d3 | |
parent | edc83d47a9928281ecf6fb709753edb3c58ae7f1 [diff] |
xen-blkfront: fix data size for xenbus_gather in blkfront_connect barrier variable is int, not long. This overflow caused another variable override: "err" (in PV code) and "binfo" (in xenlinux code - drivers/xen/blkfront/blkfront.c). The later caused incorrect device flags (RO/removable etc). Signed-off-by: Marek Marczykowski <marmarek@mimuw.edu.pl> Acked-by: Ian Campbell <Ian.Campbell@citrix.com> [v1: Changed title] Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>