Coda File System

Re: strange code

From: Peter J. Braam <braam_at_cs.cmu.edu>
Date: Tue, 5 May 1998 11:01:28 -0400 (EDT)
Thanks, you found a bug!  I think all the code needs to do is type GRRR in
the log to indicate that something is wron.g 


On Tue, 5 May 1998, Magnus Ahltorp wrote:

> In the linux kernel module for coda, cache.c:coda_flag_alias_children(),
> the following code appears:
> 
> 	if ( !alias_de ) {
>         	printk("Corrupt alias list for %*s\n",
>                        alias_de->d_name.len, alias_de->d_name.name);
>                 return;
>         }
> 
> Apperently, this is not correct, since you have just convinced yourself
> of the fact that you have a NULL pointer. The question is, what should the
> above code do?
> 
> Magnus Ahltorp
> Stacken Computer Club
> Arla project (arla-drinkers_at_stacken.kth.se)
> 
> 
Received on 1998-05-05 12:05:19