HomeFreeBSD

vn_rdwr() didn't properly advance the file position

Description

vn_rdwr() didn't properly advance the file position

This would cause problems when using 'zfs send' with a file as the
target (rather than a pipe or a socket as is usually the case) as
for each write the destination offset in the file would be 0.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes ZFS issue #391

Details

Provenance
Gunnar Beutner <gunnar@beutner.name>Authored on Oct 12 2011, 10:49 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Oct 18 2011, 11:51 PM
Parents
rGa49bc996897f: Fix package URLs to use the github repository
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGf3989ed32233: vn_rdwr() didn't properly advance the file position (authored by Gunnar Beutner <gunnar@beutner.name>).Oct 18 2011, 11:51 PM