diff options
author | Olaf Hering <olaf@aepfle.de> | 2012-01-27 19:03:37 +0000 |
---|---|---|
committer | Olaf Hering <olaf@aepfle.de> | 2012-01-27 19:03:37 +0000 |
commit | 7c4f9f61a2c98b3ae2cd5f898738368e1836fab2 (patch) | |
tree | f7b1ef6ceadfe5aa5b6f551100ce08523cf804d2 /tools/libxl | |
parent | 3fb8faf59e30206d45977e2908c2032d6ec3b3f0 (diff) | |
download | xen-7c4f9f61a2c98b3ae2cd5f898738368e1836fab2.tar.gz xen-7c4f9f61a2c98b3ae2cd5f898738368e1836fab2.tar.bz2 xen-7c4f9f61a2c98b3ae2cd5f898738368e1836fab2.zip |
xenpaging: make file_op largefile aware
lseek() takes an off_t, the used "int << shiftsize" does not automatically
convert the int into a larger type. This leads to write errors with pagefiles
larger than 2G. Fix this by shifting an off_t instead of an int.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/libxl')
0 files changed, 0 insertions, 0 deletions