Re: pre-patch-2.2.2-4

Jens Axboe (axboe@image.dk)
Tue, 16 Feb 1999 17:36:29 +0100


Ulrich Windl wrote:
> I just saw this in the patch for linux/kernel/sysctl.c: "unregoster"
>
> + /* Don't unregoster proc entries that are still being used.. */
> + if (de->count)
> + continue;

Spelling errors in comments don't matter. But I was looking for
something
along the lines of :

if (de->count) {
de->deleted = 1;
continue;
}

That seems to make more sense.

> Regards,
> Ulrich

-- 
*  Jens Axboe <axboe@image.dk>
*  Linux CD-ROM Maintainer
* "The only thing that interferes with my
*  learning is my education." -- A. Einstein

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