DragonFly-2.3.0.56.g9364ac0 master lib/libstand hammerread.c

From:

Simon Schubert <corecode@xxxxxxxxxxxxxxxxxxxxxxx>

Date:

Wed, 11 Feb 2009 02:29:15 -0800 (PST)

commit 9364ac098fc29a7f38f286453fbdd17cf910b689
Author: Simon Schubert <corecode@dragonflybsd.org>
Date: Wed Feb 11 11:25:45 2009 +0100
hammer boot2: reset file offset each time we're looking up a new inode
The boot2/ufs code used the implicit assumption that the file offset
gets reset each time a new inode is looked up. We have to follow this
behavior, or else reads will always start from the last offset of the
last file.
Summary of changes:
lib/libstand/hammerread.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9364ac098fc29a7f38f286453fbdd17cf910b689
--
DragonFly BSD source repository