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

/freebsd-9.3-release/sys/fs/ext2fs/
H A Dext2_lookup.cdiff 254801 Sat Aug 24 15:47:04 MDT 2013 pfg MFC r253651, r253652, r253657;

ext2fs: Don't assume that on-disk format of a directory is the same
as in <sys/dirent.h>

ext2_readdir() has always been very fs specific and different
with respect to its ufs_ counterpart. Recent changes from UFS
have made it possible to share more closely the implementation.

Always start parsing at DIRBLKSIZ aligned offset, skip first entries if
uio_offset is not DIRBLKSIZ aligned. Return EINVAL if buffer is too
small for single entry.

Preallocate buffer for cookies.

Skip entries with zero inode number.

Reviewed by: gleb, Zheng Liu

Completed in 51 milliseconds