solaris-gop-lookupname-20081009
authorDerrick Brashear <shadow@dementia.org>
Thu, 9 Oct 2008 19:54:06 +0000 (19:54 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 9 Oct 2008 19:54:06 +0000 (19:54 +0000)
LICENSE IPL10

add missing gop_lookupname macro for solaris

src/afs/SOLARIS/osi_machdep.h

index fe50f50..373fe34 100644 (file)
@@ -59,6 +59,8 @@ extern void *afs_osi_Alloc_NoSleep(size_t size);
 #define osi_vnhold(avc, r)  do { VN_HOLD(AFSTOV(avc)); } while(0)
 #define gop_rdwr(rw,gp,base,len,offset,segflg,ioflag,ulimit,cr,aresid) \
   vn_rdwr((rw),(gp),(base),(len),(offset),(segflg),(ioflag),(ulimit),(cr),(aresid))
+#define gop_lookupname(fnamep,segflg,followlink,compvpp) \
+  lookupname((fnamep),(segflg),(followlink),NULL,(compvpp))
 
 
 #if defined(AFS_SUN510_ENV)