Re: ADFS -> undefined reference to __cmpdi2 (2.3.51)

From: Alexander Viro (viro@math.psu.edu)
Date: Sat Mar 11 2000 - 10:29:46 EST


On Sat, 11 Mar 2000, Russell King wrote:

> Arjan van de Ven writes:
> > So would the following patch be appropriate?
> > (The BUG() part should probably be replaced with "return -ESOMEERROR",
> > I would not know which one though)
>
> Not quite. The test should come before you even read the directory (or
> else you will leak directories).

Huh? Just do what you normally are normally doing if filp->f_pos >
inode->i_size, that's it. I.e. silently return 0.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Mar 15 2000 - 21:00:19 EST