Hi all,

My test with seekdir fails after a file in the directory is deleted. If I remove these lines inside yaffs_readdir, seekdir works:

    if (f->f_version != inode->i_version) {
        offset = 2;
        f->f_pos = offset;
        f->f_version = inode->i_version;
    }

This code rewinds the offset when a file in the directory is deleted and it breaks seekdir.

Anthony


8:00? 8:25? 8:40? Find a flick in no time
with theYahoo! Search movie showtime shortcut.