[OpenAFS] [Q] Creating User space AFS Client using FUSE
   
    Sungjin Chun
     
    chunsj@embian.com
       
    Thu, 7 Jul 2005 17:48:31 +0900
    
    
  
I've found the cause of segmentation fault error. It related to  
gop_lookupname (which in turn calls lookupname) macro. I'm sure why  
but if I add lookupname declaration to all gop_loopkupname macro  
calling files and change gop_lookupname with lookupname function  
call, then it just works. Without this, the last argument (pointer to  
pointer of struct vnode) is not correctly transferred to lookupname  
function. I cannot find more elegant solution on this problem, yet.
On Jul 7, 2005, at 4:45 PM, Sungjin Chun wrote:
> Hi,
>
> Is there anyone who tries FUSE + libuafs? Or am I going wrong  
> direction?
> And can I get some info(code, doc or etc) on libuafs on linux? I've  
> tried some simple code (attached file), but it only dies with  
> segmentation fault on lookupname call, exact location of  
> segmentation fault is line 699 (*comvpp = vp;) in afs/UKERNEL/ 
> afs_usrprops.c. I suspect the size of struct usr_vnode and struct  
> vnode but not sure on this and have no idea on how to resolve this  
> problem.
>
> I'm using Linux 2.6.11 and Thanks in advance.
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
>