diff --git a/src/afs/SOLARIS/osi_vfsops.c b/src/afs/SOLARIS/osi_vfsops.c index 01ce78329c..c474f8aea0 100644 --- a/src/afs/SOLARIS/osi_vfsops.c +++ b/src/afs/SOLARIS/osi_vfsops.c @@ -24,7 +24,9 @@ #endif #include - +#ifdef AFS_SUN58_ENV +# include +#endif struct vfs *afs_globalVFS = 0; struct vcache *afs_globalVp = 0; @@ -88,6 +90,14 @@ afs_unmount(struct vfs *afsp, afs_ucred_t *credp) AFS_GUNLOCK(); return (EPERM); } + +#ifdef AFS_SUN58_ENV + if (flag & MS_FORCE) { + AFS_GUNLOCK(); + return ENOTSUP; + } +#endif /* AFS_SUN58_ENV */ + afs_globalVFS = 0; afs_shutdown();