commit | 190f4939222b8c07cd62a20e1ce0c7a97fffde99 | [log] [tgz] |
---|---|---|
author | Jeff Dike <jdike@addtoit.com> | Fri Jun 30 01:55:55 2006 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Fri Jun 30 11:25:37 2006 -0700 |
tree | f3de1035774a1c6358231903d847f1313db7bf0b | |
parent | c2b7a4bb30008dc256d63802e02b6fb950958443 [diff] |
[PATCH] uml: fix off-by-one bug in VM file creation Fix an off-by-one bug in temp file creation. Seeking to the desired length and writing a byte resulted in the file being one byte longer than expected. Signed-off-by: Jeff Dike <jdike@addtoit.com> Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>