Searched hist:134760 (Results 1 - 1 of 1) sorted by relevance

/freebsd-10.1-release/lib/libstand/
H A Dufs.cdiff 134760 Sat Sep 04 12:54:01 MDT 2004 iedowse Reset the seek pointer to 0 when a file is successfully opened,
since otherwise the initial seek offset will contain the directory
offset of the filesystem block that contained its directory entry.
This bug was mostly harmless because typically the directory is
less than one filesystem block in size so the offset would be zero.
It did however generally break loading a kernel from the (large)
kernel compile directory.

Also reset the seek pointer when a new inode is opened in read_inode(),
though this is not actually necessary now because all callers set
it afterwards.

Completed in 161 milliseconds