Re: ramfs problem... (unlink of sparse file in "D" state)

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Mon Jan 08 2001 - 12:50:28 EST


> if (pos + count > inode->i_sb->s_maxbytes)
> {
> count = inode->i_sb->s_maxbytes - count;
> goto out;
> }
>
> looks funny - goto out means that new (and rather meaningless) value of
> count goes to hell. Shouldn't we remove that line and s/- count/- pos/

I already fixed that in my tree. We also send signals in a couple of spots
we shouldnt tht I fixed

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



This archive was generated by hypermail 2b29 : Mon Jan 15 2001 - 21:00:18 EST