Chris Wedgwood wrote:

Why bother at all?

I don't see why zero sizes are a problem.  We've had them for year
without complaints.

I'm using the i_size of directories in my patches. When reading from a union directory, I'm using the i_size to seek to the right offset in the union stack. Therefore I need values of dirent->d_off which are smaller than the i_size of the directory. Altogether, it doesn't make sense to me to seek to an offset which is greater than the i_size and let the dirent read succeed.

Jan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to