diff options
author | Chris Malley <mail@chrismalley.co.uk> | 2007-09-26 06:19:18 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-09-26 18:22:04 +0200 |
commit | f6a592e8abd2f2394623ce5427cbb4c265495974 (patch) | |
tree | ff5e176b3ee0832978babae80bb13f32c8a77699 /sound/mips | |
parent | fix sctp_del_bind_addr() last argument type (diff) | |
download | linux-f6a592e8abd2f2394623ce5427cbb4c265495974.tar.xz linux-f6a592e8abd2f2394623ce5427cbb4c265495974.zip |
lguest example launcher truncates block device file to 0 length on problems
The function should also use ftruncate64() rather than ftruncate() to prevent
files over 4GB (not uncommon for a root filesystem) being zeroed.
Signed-off-by: Chris Malley <mail@chrismalley.co.uk>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'sound/mips')
0 files changed, 0 insertions, 0 deletions