[OpenAFS-devel] patch for Solaris 8 - fileserver working

Pavel Semerad Pavel Semerad <semerad@ss1000.ms.mff.cuni.cz>
Fri, 19 Jan 2001 11:09:22 +0100 (CET)


Hi,
I have found replacement of function vfs_devsearch (defined in Solaris
prior 8) on Solaris 8. It is vfs_dev2vfsp, so here is patch:

*** src/afs/SOLARIS/osi_inode.c 09:50:36        1.1.1.2
--- src/afs/SOLARIS/osi_inode.c 09:28:00
***************
*** 42,47 ****
--- 42,49 ----
      if (!vfsp 
  #if !defined(AFS_SUN58_ENV)
        && !(vfsp = vfs_devsearch(dev))
+ #else
+       && !(vfsp = vfs_dev2vfsp(dev))
  #endif
        ) {
        return (ENODEV);


Pavel Semerad