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

Simon Schubert corecode at crater.dragonflybsd.org
Wed Feb 11 02:29:30 PST 2009


commit 9364ac098fc29a7f38f286453fbdd17cf910b689
Author: Simon Schubert <corecode at 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





More information about the Commits mailing list