hammer boot2: reset file offset each time we're looking up a new inode
commit9364ac098fc29a7f38f286453fbdd17cf910b689
authorSimon Schubert <corecode@dragonflybsd.org>
Wed, 11 Feb 2009 10:25:45 +0000 (11 11:25 +0100)
committerSimon Schubert <corecode@dragonflybsd.org>
Wed, 11 Feb 2009 10:28:12 +0000 (11 11:28 +0100)
tree279c59c55810b28351d76197c10f06e3bf029fa8
parentcd9c91ff447388a22da166d24ac68185e472b3eb
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.
lib/libstand/hammerread.c