Enable writing after the 2G boundary
This patch fixes a bug in readwrite.c which truncated the 'from' field in nbd requests. It was casting them down from an off64_t to an int.
This commit is contained in:
@@ -79,6 +79,10 @@ class Environment
|
||||
end
|
||||
|
||||
|
||||
def truncate1( size )
|
||||
system "truncate -s #{size} #{@filename1}"
|
||||
end
|
||||
|
||||
|
||||
def listening_ports
|
||||
`netstat -ltn`.
|
||||
|
Reference in New Issue
Block a user