Re: [PATCH] Fix SCSI proc oops

From: Linus Torvalds (torvalds@transmeta.com)
Date: Sat Oct 14 2000 - 21:16:11 EST


On Sat, 14 Oct 2000, David S. Miller wrote:
>
> The loop would be a no-op but the remove_proc_entry call would not.
> Perhaps you didn't notice that there too? It's pretty close to the
> loop :-)

Ok.

In fact, it's in the _wrong_ part.

That remove_proc_entry() should be there in the same place where we remove
the entry in teh list, wouldn't you say? Makes tons more sense that way,
doesn't crash, and is understandable.

                Linus

-
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 : Sun Oct 15 2000 - 21:00:28 EST