X-Git-Url: https://git.openafs.org/?p=openafs.git;a=blobdiff_plain;f=src%2Fafs%2FDUX%2Fosi_vfsops.c;h=87342e45ed3714ae8414c92690976201223737f2;hp=ecba5e5f21c5d49e23ac756f93bba4f24e6aaf72;hb=bc5204d4e79198501608be68434106c7be119d67;hpb=fb5bcd00fc6f1560d7d02115a0b5beaa3014a0e7 diff --git a/src/afs/DUX/osi_vfsops.c b/src/afs/DUX/osi_vfsops.c index ecba5e5..87342e4 100644 --- a/src/afs/DUX/osi_vfsops.c +++ b/src/afs/DUX/osi_vfsops.c @@ -200,6 +200,14 @@ int mp_afs_sync(struct mount *mp, int flags) } +#ifdef AFS_DUX50_ENV +int mp_afs_smoothsync(struct mount *mp, u_int age, u_int smsync_flag) +{ + AFS_STATCNT(afs_sync); + return 0; +} +#endif + int mp_afs_fhtovp(struct mount *afsp, struct fid *fidp, struct vnode **avcp) { struct vrequest treq; @@ -350,7 +358,10 @@ struct vfsops afs_vfsops = { mp_afs_vptofh, mp_Afs_init, mp_afs_mountroot, - mp_afs_swapvp + mp_afs_swapvp, +#ifdef AFS_DUX50_ENV + mp_afs_smoothsync +#endif }; @@ -469,8 +480,12 @@ int mp_Afs_init(void) AFS_GLOCK(); sysent[AFS_SYSCALL].sy_call = afs3_syscall; +#ifdef SY_NARG + sysent[AFS_SYSCALL].sy_info = 6; +#else sysent[AFS_SYSCALL].sy_parallel = 0; sysent[AFS_SYSCALL].sy_narg = 6; +#endif sysent[SYS_setgroups].sy_call = Afs_xsetgroups; afs_xioctl_func = afsxioctl; afs_xsetgroups_func = afsxsetgroups;