[OpenAFS] Oops in 2.6.11-rc1 ...

Kevin Coffman kwc@citi.umich.edu
Fri, 04 Feb 2005 12:20:41 -0500


This does the trick.  Thanks!


> In message <20050204153414.BBDE41BB0A@citi.umich.edu>,Kevin Coffman writes:
> >Feb  3 18:16:15 rock kernel: EIP is at generic_delete_inode+0x2d/0x310
> 
> looks like 2.6.11 has a new inode entity called i_sb_list.  it seems to
> be handled inside new_inode(), so we would need to do the same in 
> afs_NewVCache().  i guess you could try something like:
> 
> 
> Index: afs_vcache.c
> ===================================================================
> RCS file: /cvs/openafs/src/afs/afs_vcache.c,v
> @@ -952,6 +961,7 @@
>  #endif
>         ip->i_sb = afs_globalVFS;
>         put_inode_on_dummy_list(ip);
> +       list_add(&ip->i_sb_list, &ip->i_sb->s_inodes);
>      }
>  #endif