LICENSE IPL10
make freebsd ustrategy correct
{
int error;
AFS_GLOCK();
- error = afs_ustrategy(ap->a_bp);
+ error = afs_ustrategy(ap->a_bp, osi_cred());
AFS_GUNLOCK();
return error;
}
#endif
/* VNOPS/afs_vnop_strategy.c */
-#if defined(AFS_SUN5_ENV) || defined(AFS_OSF_ENV) || defined(AFS_DARWIN_ENV)
+#if defined(AFS_SUN5_ENV) || defined(AFS_OSF_ENV) || defined(AFS_DARWIN_ENV) || defined(AFS_XBSD_ENV)
extern int afs_ustrategy(register struct buf *adp, struct AFS_UCRED *credp);
#else
extern int afs_ustrategy(register struct buf *adp);