[OpenAFS-devel] porting openafs to another linux - problems with vRefcount type..

Derek Atkins warlord@MIT.EDU
05 Oct 2001 14:57:58 -0400


Ahh, I hadn't thought about that.  Yea, that would cause a problem.
However, changing atomic_t to 'int' would only work until someone
changed atomic_t.  I think a better solution would be to change
OpenAFS to use the correct vrefCount interfaces.

-derek

Nickolai Zeldovich <kolya@MIT.EDU> writes:

> > What is going on special on parisc-linux (or on i386_linux) that allows it
> > to work on one, but not on the other?
> 
> Nothing.  It doesn't build on i386_linux either now.  The latest
> change to automatically generate the vnode structure from struct
> inode made the refcount atomic_t instead of int.  I've sent a bug
> report to openafs-bugs@openafs.org about it, but haven't heard
> anything back yet.  Probably easiest workaround for now is to
> s/atomic_t/int/.
> 
> -- kolya
> _______________________________________________
> OpenAFS-devel mailing list
> OpenAFS-devel@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-devel

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available