Re: ext2fs bug : files are disapeared, unable to delete, two files'

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Mon Mar 27 2000 - 07:20:22 EST


> Ted Ts'o patch has:
> > /*
> > * N.B. Several error exits in ext2_new_inode don't set err.
> > */
> > inode = ext2_new_inode (dir, mode, &err);
> > if (!inode)
> > - return err;
> > + return -EIO;
>
> I've looked through ext2_new_inode(), and there are NO returns where
> ext2_new_inode() doesn't set err on an error condition. Maybe this

There were in older kernels. It was fixed in 2.2 and forward ported.

-
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 : Fri Mar 31 2000 - 21:00:19 EST