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

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 8 Jan 2001 17:50:28 +0000 (GMT)


> 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/