]> git.tuebingen.mpg.de Git - paraslash.git/commit
file_writer: Make file_write_open() a no-op.
authorAndre Noll <maan@systemlinux.org>
Fri, 5 Nov 2010 18:28:24 +0000 (19:28 +0100)
committerAndre Noll <maan@systemlinux.org>
Tue, 23 Nov 2010 16:43:08 +0000 (17:43 +0100)
commit00837775857a5c40c8c8da8ac509c3e751312ea3
tree6b195d3d66346f45f0bac716ae6a630c1e3ff41c
parente4426bc694c60ba5aade50fd7161251be33dc16a
file_writer: Make file_write_open() a no-op.

Move the allocation of the private_file_write_data struct to ->post_select()
and adjust the the check whether the output file has already been opened
accordingly.

If the output file has just been opened, pfwd->fd will never be set in
the write fd set of the scheduler, so we can skip this test.
file_write.c