From: Chris Malley Date: Wed, 26 Sep 2007 04:19:18 +0000 (+1000) Subject: lguest example launcher truncates block device file to 0 length on problems X-Git-Tag: v2.6.23-rc9~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6a592e8abd2f2394623ce5427cbb4c265495974;p=pandora-kernel.git 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 Signed-off-by: Rusty Russell Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed